Yasmina APIs follow standard HTTP status codes to indicate the success or failure of an API request. Below is a list of common error codes you may encounter and what they typically mean.
Status CodeMeaningDescription
400Bad RequestThe request was malformed or invalid. For example trying to cancel an already cancelled policy
401UnauthorizedThe request lacks valid authentication credentials.
403ForbiddenYou are authenticated but not allowed to access this resource or product.
404Not FoundThe requested resource does not exist.
405Method Not AllowedThe HTTP method used is not supported for this endpoint.
422Unprocessable EntityThe request was well-formed but failed validation (e.g., missing or invalid fields).
429Too many requestsRead more in Rate Limit Section
500Internal Server ErrorSomething went wrong on Yasmina’s side.
502Bad GatewayA third-party service (e.g., an insurance company) failed to respond properly.