Errors handling: Difference between revisions

No edit summary
Marked this version for translation
 
(2 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 10: Line 11:


<translate>
<translate>
= Errors handling =
= 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 25: 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 55: 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 66: Line 69:


<translate>
<translate>
== Login API error codes ==
== 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