Mottor API
Search…
Ошибки

Формат ошибок

В случае возникновения ошибок API в ответ придет сообщение в формате:
1
{
2
"title": "Description is here",
3
"error": 0,
4
"code": 404
5
}
Copied!
Параметр
Описание
title
Краткое описание ошибки
error
Номер ошибки в системе Mottor
code
Статус код http

Список ошибок

Номер
Статус код
Описание
0
500
unknown error
1
403
user hasn't any enabled tariff
2
403
site limit is exceeded
3
403
domain limit is exceeded
4
403
page limit is exceeded
8
403
user can't access to edit this site
10
400
file or data is invalid
12
404
domain not found
13
409
domain already exists
15
403
current user doesn't have access for edit page
16
400
site is not published
17
404
can't find user
18
402
user need pay for certificate
19
400
can't create certificate
20
404
can't find certificate
21
404
domain has not relation with site
23
404
can't find delivery
24
403
user hasn't access to delivery
25
404
can't find delivery template
Last modified 9mo ago