Errors handling: Difference between revisions
No edit summary |
Marked this version for translation |
||
| (One intermediate revision by the same user 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= | |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 65: | 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 | ||