Qonversion uses HTTP response status codes to indicate the status of your API requests. If your request fails, Qonversion returns an error using the appropriate status code.
HTTP Response codes
Code
State
Description
200
Success
Everything worked as expected.
201
Created
Everything worked as expected and operation execution has led to the creation of a resource.
204
No Content
Indicates that the server has successfully fulfilled the request and that there is no content to send in the response body
400
Bad Request
The request was not accepted, often due to a missing required parameter.
Error could be due to malformed request syntax, invalid request message parameters, deceptive request routing, etc.
401
Unauthorized
Invalid API key provided.
403
Forbidden
Authorization by a secret key required.
404
Not Found
The requested resource doesn't exist, but may be available in the future.
422
Unprocessable Entity
Can not process the request further due to logical error in client's actions
5xx
Server Errors
Something went wrong on Qonversion's end. (These are rare.)
Error Types
Type
Description
request
Error in request validation. Not enough data in the request; invalid data in the request; authorization required; too many requests.
resource
The request is valid, but the action could not be executed due to some reason.
logical
The client can execute the required action but there is an error in communicating with the application.
internal
All request handling stages are successful, but there was an internal error.