Page tree
Skip to end of metadata
Go to start of metadata

Возвращаемые ошибки соответствуют спецификации JSON-RPC 2.0

Коды ошибок

code

message

meaning

HTTP Status code

-32700Parse errorInvalid JSON was received by the server.
An error occurred on the server while parsing the JSON text.
400
-32600Invalid RequestThe JSON sent is not a valid Request object.400
-32601Method not foundThe method does not exist / is not available.404
-32602Invalid paramsInvalid method parameter(s).400
-32603Internal errorInternal JSON-RPC error.500
-32000 to -32099Server errorReserved for implementation-defined server-errors. 


Коды ошибок -32000 .. -32099 (пользовательские ошибки)

code

message

meaning

HTTP Status code

-32000Server errorOther server error500
-32001Server errorData not found404
-32002Server errorPermission denied403
-32003Server errorAlready executed Данный запрос уже выполнен для переданных параметров200
-32004Server errorRegistration is required200
-32005Server errorCheck is required200
-32006Server errorError occurred when calling external service, try again later500
-32007Server errorDuplicate SIP ID200
-32008Server errorInsufficient funds200
-32000Server errorService Unavailable503
  • No labels