Response Codes
Code
Status
Response Body
Last updated
Was this helpful?
The Sahamati SLA endpoint returns the following HTTP responses for each push request made by SNA:
200
OK
{ "success": true, "message": "Successfully pushed metric", "warning": "Agent upgrade available..." }
400
Bad Request
{ "errorCode": "Bad request", "errorMsg": "JSON validation failed" }
401
Unauthorized
{ "errorCode": "Unauthorized", "errorMsg": "Auth token is invalid/expired" }
404
Not Found
{ "errorCode": "Not Found", "errorMsg": "Agent version incompatible" }
500
Server Error
{ "errorCode": "Server Error", "errorMsg": "Internal Server Error" }
Last updated
Was this helpful?
Was this helpful?