Response and Error Codes
HTTP Response Codes
EDS API returns an HTTP response code with each request. EDS API uses conventional HTTP response codes to indicate success or failure of the request. Response codes in the 400 range indicate an error in the information that was provided in the request. For example, a 404 HTTP response code is returned by the service if the information provided is missing a required parameter. Response codes in the 500 range indicate an error on the server, a database error or an API settings error. The HTTP response codes are below.
Response Codes
CODE | TEXT | RETRY | DESCRIPTION |
---|---|---|---|
200 | OK | Yes | Everything worked as expected. |
202 | Accepted | Yes | The request has been accepted for processing, but the processing has not been completed. |
204 | No Content | Yes | The server has successfully fulfilled the PUT request and there is no additional content to send in the response payload body. |
400 | Bad Request | No | The server has successfully fulfilled the PUT request and there is no additional content to send in the response payload body. |
403 | Forbidden | No | The request is understood but access is not allowed due to the IP whitelisting policy. |
404 | Not found | No | The URI requested is invalid. Also returned when the requested format is not supported by the requested method. |
409 | Conflict | Yes | The request could not be completed due to a conflict with the current state of the resource. |
429 | Too Many Requests | Yes | Returned when a request cannot be served due to the application’s rate limit having been exhausted for the resource. |
500 | Internal Server Error | Yes | Something is broken. Try again later or you may contact the EBSCO customer service team via EBSCO Connect. |
503 | Service Unavailable Exception | Yes | Our servers are up, but overloaded with requests. Try again later or you may contact the EBSCO customer service team via EBSCO Connect. |
504 | Endpoint Request Timed-out Exception | Yes | Our servers are up, but the request couldn’t be serviced due to some failure at our server. Try again later or you may contact the EBSCO customer service team via EBSCO Connect. |
Error Response Messages
EDS API also returns error messages that provide additional information about the error. Error messages are returned in XML or JSON format. The error message contains an ErrorNumber which is the error code. It also contains a description and a detailed description. The error message provides descriptive error text and codes that are machine-parsable. The message text for an error message could vary, but the error that the code represents will stay the same. An example error message is below.
Error Message
<APIErrorMessage xmlns="http://epnet.com/webservices/EbscoApi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DetailedErrorDescription>Parameter Name: pagenumber Parameter value: x. Parameter value must be an integer.</DetailedErrorDescription>
<ErrorDescription>Invalid Argument Value</ErrorDescription>
<ErrorNumber>112</ErrorNumber>
</APIErrorMessage>
Error Codes
Each error message has an error code. The error code corresponds to a particular HTTP response code. The error codes for the EBSCO Knowledge Services are in the table below. If you see an error code that is not listed in the table, please use the HTTP response code to determine the best way to address the error. Some errors are resolved if you simply retry the same request.
Error Codes
CODE | DESCRIPTION |
---|---|
100 | Unknown Parameter |
101 | Incorrect Parameter Format |
102 | Invalid Parameter Index |
103 | Missing Parameter |
104 | Auth Token Invalid |
105 | Incorrect Number of Arguments |
106 | Unknown Error |
107 | Authentication Token Missing |
108 | Session Token Missing |
109 | Session Token Invalid |
111 | Unknown Action |
112 | Invalid Argument Value |
113 | Error encountered while creating a session. |
114 | Required data missing. |
116 | Duplicate query string parameter found where only one should be specified. |
119 | Invalid Page Size |
120 | Error saving session |
121 | Error ending session |
123 | Invalid Expander |
124 | Invalid Search Mode |
125 | Invalid Limiter |
126 | Invalid Limiter Value |
127 | Unsupported Profile |
128 | Profile not supported for Discovery Service |
129 | Invalid Content Provider |
130 | Invalid Source Type |
131 | XSLT Error |
132 | Record not found |
133 | Simultaneous User Limit Reached |
134 | No Guest Access |
135 | Dbid Not In Profile |
136 | Invalid Search View |
137 | Error Retrieving Full Text |
138 | Max Record Retrieval Exceeded. Please see here for further information. |
139 | Invalid IP Address |
140 | Missing IP Address |
141 | Unknown IP Authentication Error |
142 | Invalid Preferred eBook Format |
143 | Invalid Search Request - Probable Invalid Query Term |
144 | Profile ID is not associated with caller's credentials. |
145 | Profile not configured for Publication features |
148 | Guest session access restricted |
149 | Operation unsupported. Please contact EBSCO |
150 | Error occurred when calling Citation Adapter Service |
151 | Citation Styles are not available for this record |
152 | Export format not available for this record |
1100 | Missing Credentials |
1101 | Profile not supported for Discovery Service |
1102 | Invalid Credentials |
1103 | No valid profiles found for customer/group combination |
Updated 28 days ago