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.Documentation Index
Fetch the complete documentation index at: https://docs.yasmina.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Status Code | Meaning | Description |
|---|---|---|
| 400 | Bad Request | The request was malformed or invalid. For example trying to cancel an already cancelled policy |
| 401 | Unauthorized | The request lacks valid authentication credentials. |
| 403 | Forbidden | You are authenticated but not allowed to access this resource or product. |
| 404 | Not Found | The requested resource does not exist. |
| 405 | Method Not Allowed | The HTTP method used is not supported for this endpoint. |
| 422 | Unprocessable Entity | The request was well-formed but failed validation (e.g., missing or invalid fields). |
| 429 | Too many requests | Read more in Rate Limit Section |
| 500 | Internal Server Error | Something went wrong on Yasmina’s side. |
| 502 | Bad Gateway | A third-party service (e.g., an insurance company) failed to respond properly. |

