Smart Locks Integration

HI Home assistant community, I have created a custom component, in fact it was built by someone else, I Just changed a couple of URL Endpoints, But now its not making any post request,

It gives the following error:


Do I need to make some changes to home assistant files?