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 calls 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 call typically triggers the indexing process, which is asynchronous. Therefore, an API call may be successfully executed and return a success status code, but the indexing process itself could still fail further downstream.
Indexing process 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
Note
Context and symptoms Your API call fails with a 400 Likely cause and resolutionCause The body of your Push API call may be incorrectly formatted, or it may lack certain required key-value pairs. Resolution
|
400 - ORGANIZATION_IS_PAUSED
Note
Context and symptoms Your API call 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
Note
Context and symptoms Your API call fails with a 401 Likely cause and resolutionCause You’re trying to make an unauthenticated Push API call. Resolution Ensure that you include the |
401 - INVALID_TOKEN
Note
Context and symptoms Your API call 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 call. Resolution
|
403 - ACCESS_DENIED
Note
Context and symptoms Your API call fails with a 403 Likely cause and resolutionCause The access token you’re using to authenticate your Push API call doesn’t grant you sufficient privileges to perform the operation. Resolution
|
403 - ACCESS_DENIED (Request has expired)
Note
Context and symptoms
Likely cause and resolutionCause The file container Resolution
|
404 - ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3
Note
Context and symptoms Your API call 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
Note
Context and symptoms Your API call fails with a 412 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
Note
Context and symptoms Your API call fails with a 412 Likely cause and resolutionCause At least one of the arguments you provided when making your Push API call is invalid. Resolution Ensure that all of the arguments you pass when making your call are of the expected type (that is, Boolean, integer, long, etc.). |
412 - MISSING_PARAMETER
Note
Context and symptoms Your API call 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 call. Resolution Ensure that you pass a valid argument for all of the required path and query parameters of the call. |
412 - SOURCE_DOES_NOT_EXIST
Note
Context and symptoms Your API call 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
Note
Context and symptoms Your API call fails with a 413 Likely cause and resolutionCause You’re trying to perform a push operation whose total size exceeds the allowed limit (see Push API Limits - Request Size Limits). Resolution
|
415 - UNSUPPORTED_MEDIA_TYPE
Note
Context and symptoms Your API call fails with a 415 Likely cause and resolutionCause You’re trying to make a Push API call 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, you must include the |
429 - TOO_MANY_REQUESTS
Note
Context and symptoms Your API call fails with a 429 Likely cause and resolutionCause
Resolution
|
5XX
Note
Context and symptoms Your API call 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 (see Error Handling Patterns in API Gateway and AWS Lambda). Resolution
|
Indexing process and other issues
JSON deserialization error
Note
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
Note
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
Note
Context and symptoms
Likely cause and resolutionCause The source was left in the Resolution
|
SSL connection issue with the C# Platform SDK
Note
Context and symptoms
Likely cause and resolutionCause The following package may be missing: Resolution Add the |
Out of sequence operation
Note
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 olderthan API request, you can inspect an item to find its |
Delete older than operation doesn’t delete items
Note
Context and symptoms
Likely cause and resolutionCause The Resolution Perform the DELETE olderthan API request again using an appropriate |