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

CODETEXTRETRYDESCRIPTION
200OKYesEverything worked as expected.
202AcceptedYesThe request has been accepted for processing, but the processing has not been completed.
204No ContentYesThe server has successfully fulfilled the PUT request and there is no additional content to send in the response payload body.
400Bad RequestNoThe server has successfully fulfilled the PUT request and there is no additional content to send in the response payload body.
403ForbiddenNoThe request is understood but access is not allowed due to the IP whitelisting policy.
404Not foundNoThe URI requested is invalid. Also returned when the requested format is not supported by the requested method.
409ConflictYesThe request could not be completed due to a conflict with the current state of the resource.
429Too Many RequestsYesReturned when a request cannot be served due to the application’s rate limit having been exhausted for the resource.
500Internal Server ErrorYesSomething is broken. Try again later or you may contact the EBSCO customer service team via EBSCO Connect.
503Service Unavailable ExceptionYesOur servers are up, but overloaded with requests. Try again later or you may contact the EBSCO customer service team via EBSCO Connect.
504Endpoint Request Timed-out ExceptionYesOur 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

CODEDESCRIPTION
100Unknown Parameter
101Incorrect Parameter Format
102Invalid Parameter Index
103Missing Parameter
104Auth Token Invalid
105Incorrect Number of Arguments
106Unknown Error
107Authentication Token Missing
108Session Token Missing
109Session Token Invalid
111Unknown Action
112Invalid Argument Value
113Error encountered while creating a session.
114Required data missing.
116Duplicate query string parameter found where only one should be specified.
119Invalid Page Size
120Error saving session
121Error ending session
123Invalid Expander
124Invalid Search Mode
125Invalid Limiter
126Invalid Limiter Value
127Unsupported Profile
128Profile not supported for Discovery Service
129Invalid Content Provider
130Invalid Source Type
131XSLT Error
132Record not found
133Simultaneous User Limit Reached
134No Guest Access
135Dbid Not In Profile
136Invalid Search View
137Error Retrieving Full Text
138Max Record Retrieval Exceeded. Please see here for further information.
139Invalid IP Address
140Missing IP Address
141Unknown IP Authentication Error
142Invalid Preferred eBook Format
143Invalid Search Request - Probable Invalid Query Term
144Profile ID is not associated with caller's credentials.
145Profile not configured for Publication features
148Guest session access restricted
149Operation unsupported. Please contact EBSCO
150Error occurred when calling Citation Adapter Service
151Citation Styles are not available for this record
152Export format not available for this record
1100Missing Credentials
1101Profile not supported for Discovery Service
1102Invalid Credentials
1103No valid profiles found for customer/group combination