Errors handling: Difference between revisions

No edit summary
Marked this version for translation
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:1-->
{{#seo:
{{#seo:
|title=Errors handling - SimplyBook.me
|title=Errors handling - SimplyBook.me
|description=Get guidance on managing errors in your SimplyBook.me account. Resolve issues quickly with our troubleshooting tips.
|description=Learn aPI error handling documentation. Error codes, messages, troubleshooting. Developer guide for managing API exceptions and responses.
|titlemode=append
|titlemode=append
|keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, custom booking page link, domain name, custom domain name, custom url
|keywords=faq, frequently asked questions, booking software, appointment system questions, appointments online, calendar software, booking system, booking calendar, scheduling software, online appointment scheduling, online scheduling, plugins, custom features, custom booking page link, domain name, custom domain name, custom url
Line 9: Line 10:
</translate>
</translate>


= Errors handling =
<translate>
= Errors handling = <!--T:2-->


<!--T:3-->
In case of error server returns an object.
In case of error server returns an object.


<!--T:4-->
<pre>
<pre>
{
{
Line 24: Line 28:
</pre>
</pre>


== Error codes ==
== Error codes == <!--T:5-->


<!--T:6-->
* -32001 Plugin is not activated
* -32001 Plugin is not activated
* -32010 Some required params are missed
* -32010 Some required params are missed
Line 54: Line 59:
* -32097 Unsupported payment system
* -32097 Unsupported payment system
* -32099 Payment failed
* -32099 Payment failed
* -32600  
* -32600 : An error with this code can be thrown with one of the following messages:
*: An error with this code can be thrown with one of the following messages:
** Access denied
** Access denied
** Company does not exists
** Company does not exists
Line 62: Line 66:
* -32603 Internal error
* -32603 Internal error
* -3264 Client with given id not found
* -3264 Client with given id not found
</translate>


== Login API error codes ==
<translate>
== Login API error codes == <!--T:7-->


<!--T:8-->
Authentication [https://simplybook.me/api/doc#/login API methods] have different set of errors.
Authentication [https://simplybook.me/api/doc#/login API methods] have different set of errors.


<!--T:9-->
* -33001 Company does not exist
* -33001 Company does not exist
* -33002 Wrong API key
* -33002 Wrong API key
Line 72: Line 80:
* -33004 User is blocked
* -33004 User is blocked
* -33005 You are not allowed to use this application when HIPAA Plugin is enabled
* -33005 You are not allowed to use this application when HIPAA Plugin is enabled
</translate>