Troubleshooting Push source issues
Troubleshooting Push source issues
This article outlines the common issues encountered when indexing content using a Push source.
Issues may arise during HTTP requests to the Push API. The Coveo Push API provides error codes that can help diagnose these issues. This article lists common Push API errors, their likely causes, and suggested resolutions.
When using the Push API to manage items in a source, the service doesn’t immediately add, update, or delete content in the index. A Push API request typically triggers the indexing process, which is asynchronous. Even if an API request returns a success status code, a failure can still occur downstream in the Coveo indexing pipeline.
Indexing pipeline diagram
This article also addresses issues that aren’t specifically related to Push API requests, many of which the Log Browser (platform-ca | platform-eu | platform-au) can help diagnose.
Common Push API errors
400 - INVALID_JSON
|
|
Context and symptoms
Your API request fails with a 400 Likely cause and resolutionCause The body of your Push API request may be incorrectly formatted, or it may lack certain required key-value pairs. Resolution
|
400 - ORGANIZATION_IS_PAUSED
|
|
Context and symptoms
Your API request fails with a 400 Likely cause and resolutionCause You’re attempting to make a request against a Coveo organization that’s currently inactive. Resolution Reactivate your organization by logging in to the Coveo Administration Console (platform-ca |platform-eu | platform-au). Then, try pushing your items again. |
401 - UNAUTHORIZED
|
|
Context and symptoms
Your API request fails with a 401 Likely cause and resolutionCause You’re trying to make an unauthenticated Push API request. Resolution Ensure that you include the If you currently don’t have an API key, select your source on the Sources (platform-ca | platform-eu | platform-au) page, and then click Create API key in the Action bar to create one. |
401 - INVALID_TOKEN
|
|
Context and symptoms
Your API request fails with a 401 Likely cause and resolutionCause The Coveo Platform doesn’t recognize the access token you’re using to authenticate your Push API request. Resolution
|
403 - ACCESS_DENIED
|
|
Context and symptoms
Your API request fails with a 403 Likely cause and resolutionCause The access token you’re using to authenticate your Push API request doesn’t grant you sufficient privileges to perform the request. Resolution
|
403 - ACCESS_DENIED (Request has expired)
|
|
Context and symptoms
Likely cause and resolutionCause The file container Resolution
|
404 - ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3
|
|
Context and symptoms
Your API request fails with a 404 Likely cause and resolutionCause A large file in a batch document that you were trying to retrieve from your S3 Bucket was unable to be deserialized. Resolution
|
412 - DOCUMENT_LIMIT_EXCEEDED
|
|
Context and symptoms
Your API request fails with a 412 In addition, the System Performance (platform-ca | platform-eu | platform-au) page may show that you’ve exceeded the maximum number of items you can index. Likely cause and resolutionCause You have reached the maximum number of items you can index with the Push API. Resolution Delete items in one of your Push sources, preferably using a batch call, or delete one of your Push sources. |
412 - INVALID_PARAMETER
|
|
Context and symptoms
Your API request fails with a 412 Likely cause and resolutionCause At least one of the arguments you provided when making your Push API request is invalid. Resolution Ensure that all of the arguments you pass when making your request are of the expected type (that is, Boolean, integer, long, etc.). |
412 - MISSING_PARAMETER
|
|
Context and symptoms
Your API request fails with a 412 Likely cause and resolutionCause You didn’t provide a value for at least one of the required parameters of your Push API request. Resolution Ensure that you pass a valid argument for all of the required path and query parameters of the request. |
412 - SOURCE_DOES_NOT_EXIST
|
|
Context and symptoms
Your API request fails with a 412 Likely cause and resolutionCause The Coveo Platform can’t find the Resolution
Once the organization has been successfully provisioned, though, creating subsequent sources should only take a few seconds. |
413 - Request Entity Too Large
|
|
Context and symptoms
Your API request fails with a 413 Likely cause and resolutionCause You’re trying to perform a push request whose total size exceeds the allowed limit. For more information, see Push API Limits - Request Size Limits. Resolution
|
415 - UNSUPPORTED_MEDIA_TYPE
|
|
Context and symptoms
Your API request fails with a 415 Likely cause and resolutionCause You’re trying to make a Push API request using the wrong content type. Resolution If you’re not uploading content to an AWS container, ensure that you include the If you’re uploading content to an AWS container, include the |
429
|
|
Context and symptoms
Your API request fails with a 429 response.
The precise error code depends on the exact limit you’ve exceeded, for example, In addition, the System Performance (platform-ca | platform-eu | platform-au) page may show that you’ve reached a Push API limit. Likely cause and resolutionCause
Resolution
For more information, see Push API limits. |
5XX
|
|
Context and symptoms
Your API request fails with a 5XX error. Likely cause and resolutionCause You have triggered an unhandled error, or there’s an issue with the Push API service itself, or with AWS. For more information, see Error Handling Patterns in API Gateway and AWS Lambda. Resolution
|
Indexing process and other issues
JSON deserialization error
|
|
Context and symptoms
Likely cause and resolutionCause The batch of items you uploaded to the file container contains improperly escaped or encoded characters. For example, the batch may contain double quotes in string values that should be escaped. Resolution When uploading batches of items to a file container, use JSON libraries or tools for your programming language to ensure proper formatting. |
Total metadata size limit exceeded
|
|
Context and symptoms
When trying to push an item to your Coveo source, the Log Browser (platform-ca | platform-eu | platform-au) shows the document as rejected with the Likely cause and resolutionCause The total metadata size of the item you’re trying to push exceeds the limit of 52428800 bytes. Resolution The limit can’t be increased. You must reduce the size of the metadata you’re trying to push. |
Source refresh timeout
|
|
Context and symptoms
Likely cause and resolutionCause The source was left in the Resolution
|
SSL connection issue with the C# Platform SDK
|
|
Context and symptoms
Likely cause and resolutionCause The following package may be missing: Resolution Add the |
Out of sequence operation
|
|
Context and symptoms
Likely cause and resolutionCause You provided Resolution Depending on the severity of the situation, you may need to reset the Push source. To prevent this issue from happening again, don’t provide If you need to use the |
"Delete old items" request doesn’t delete items
|
|
Context and symptoms
Likely cause and resolutionCause The Resolution Perform the |
Item is set as HTML in the payload but indexed as plain text
|
|
Context and symptoms
Likely cause and resolutionCause The document processing manager (DPM) is unable to detect the file type based on the item content.
The DPM doesn’t consider the Resolution Wrap the item content in stronger HTML tags, such as
|