crisp-im / python-crisp-api

🐍 Crisp API Python Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
27 stars 11 forks source link

conversation_not_found error in client.website.update_conversation_metas since ugpgrading to 1.1.5 #11

Closed reederz closed 3 years ago

reederz commented 3 years ago

We started getting conversation_not_found error in client.website.update_conversation_metas since upgrading to 1.1.5 . 1.1.6 is also affected. Downgrading back to 1.1.4 fixes the issue.

baptistejamin commented 3 years ago

Hi there! Can you please send us a screenshot of this?

reederz commented 3 years ago

Sorry, after a little bit of testing, it seems that it's our fault.

We used to check for error type by looking into str(route_error) but it seems you changed the structure of route error now. Before it was:

RouteError(reason)

Now it's:

RouteError(error_dict)

We'll adjust our code accordingly.

baptistejamin commented 3 years ago

Hi! Got it, let us know if you have any questions :)