Status Codes | Teradata Query Service - RESTful API Status Codes - Teradata Query Service

Teradata® Query Service Installation, Configuration, and Usage Guide for Customers - 4.01.03.01, 4.01.07.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Query Service
Release Number
4.01.03.01, 4.01.07.00
Published
September 2023
Language
English (United States)
Last Update
2024-02-16
dita:mapPath
qla1666844235399.ditamap
dita:ditavalPath
ft:empty
dita:id
enn1467244092237
Product Category
Analytical Ecosystem
The following table lists the status codes in the HTTP response:
Code Definition Description
200 OK Request was successful.
201 Created Request was successful, and the response contains information on the created object.
400 Bad Request Service could not understand the request due to malformed syntax. The client should not repeat the request without modifications.
401 Unauthorized Request requires user authentication.
404 Not Found Resource referenced by the specified URL was not found.
412 Precondition Failed Specified session is currently in use, or there are no available threads to run the request, and the queue timeout has exceeded.
420 Database Error The target Teradata Database returned an error.
429 Too Many Sessions User has reached the session limit.
500 Internal Server Error Service encountered an unexpected condition that prevented it from fulfilling the request.

When the status code is not 200 OK, the response body returns a JSON response containing an error code and error message.

{
    "error":"3802",
    "message":"Database 'MyDatabase' does not exist.",
}