Error codes are returned by the server when the execution of a query fails.
Error codes have severity
All errors returned are classified into one of the following categories:
- Client errors
These errors are caused by the client and are usually related to the request itself. Client errors have the prefix
- Transient errors
These errors are detected by the server and are usually related to some kind of database unavailability, such as limits reached, out-of-memory, timeouts, etc. The error can be temporary and could therefore succeed if retrying the request. Transient errors have the prefix
- Database errors
These errors are caused by the database and are usually related to the database state. Database errors have the prefix
Was this page helpful?