---
title: Troubleshooting Push source issues
slug: '95'
canonical_url: https://docs.coveo.com/en/95/
collection: index-content
source_format: adoc
---
# Troubleshooting Push source issues

When [using a Push source](https://docs.coveo.com/en/1546.md) to [index](https://docs.coveo.com/en/204.md) content, issues can arise during HTTP requests to the Push API or later in the indexing pipeline.
This article covers [common Push API errors](#common-push-api-errors) and [indexing pipeline issues](#indexing-process-and-other-issues), including their symptoms, likely causes, and suggested resolutions.
For request size [limits](https://docs.coveo.com/en/262.md) and throughput constraints that govern Push API usage, see [Push API quotas and constraints](https://docs.coveo.com/en/63.md).

Keep in mind that using the Push API to manage [items](https://docs.coveo.com/en/210.md) in a source 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](https://docs.coveo.com/en/1893.md).
For a visual overview of the [indexing](https://docs.coveo.com/en/204.md) pipeline stages, expand the following diagram.

<details><summary>Indexing pipeline diagram</summary>

![Diagram showing indexing process | Coveo](https://docs.coveo.com/en/assets/images/index-content/indexing-pipeline-stages.png)

</details>

## Common Push API errors

The following errors can occur when making HTTP requests to the Push API.

> **Tip**
>
> If your request succeeds but items still don't appear in search results, see [Indexing process and other issues](#indexing-process-and-other-issues).

* [400 - INVALID_JSON](#400-invalid_json)

* [400 - ORGANIZATION_IS_PAUSED](#400-organization_is_paused)

* [401 - UNAUTHORIZED](#401-unauthorized)

* [401 - INVALID_TOKEN](#401-invalid_token)

* [403 - ACCESS_DENIED](#403-access_denied)

* [403 - ACCESS_DENIED (Request has expired)](#403-access_denied-request-has-expired)

* [404 - ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3](#404-error_deserializing_batch_document_from_s3)

* [412 - DOCUMENT_LIMIT_EXCEEDED](#412-document_limit_exceeded)

* [412 - INVALID_PARAMETER](#412-invalid_parameter)

* [412 - INVALID_SECURITY_PROVIDER_TYPE](#412-invalid_security_provider_type)

* [412 - MISSING_PARAMETER](#412-missing_parameter)

* [412 - SOURCE_DOES_NOT_EXIST](#412-source_does_not_exist)

* [413 - REQUEST_ENTITY_TOO_LARGE](#413-request_entity_too_large)

* [415 - UNSUPPORTED_MEDIA_TYPE](#415-unsupported_media_type)

* [429](#429)

* [5XX](#5xx)

### 400 - INVALID_JSON

#### Symptoms

Your API request fails with a 400 `INVALID_JSON` error.

#### Cause

The body of your Push API request might be incorrectly formatted, or it might lack certain required key-value pairs.

#### Solution

* Use a JSON validation tool to verify that the body of your request is valid JSON.

* If you're pushing [items](https://docs.coveo.com/en/210.md), verify that the request body is correctly formatted.
For more information, see [Item models](https://docs.coveo.com/en/78.md#item-models).
+
> **Important**
>
> The request body must not contain any duplicate keys or sub-objects.
> For more information, see [About Push Source Item Metadata](https://docs.coveo.com/en/115.md).

* If you're pushing an uncompressed item, verify that the request body minimally includes the `data` key-value pair.
For more information, see [Use the data property](https://docs.coveo.com/en/31.md).

* If you're pushing a small compressed item (less than 5 megabytes), verify that the request body minimally includes the `compressedBinaryData` key-value pair.
For more information, see [Use the compressedBinaryData property](https://docs.coveo.com/en/164.md).

* If you're pushing a batch of items or a single large compressed item (5 megabytes or more), verify that the request body minimally includes the `compressedBinaryDataFileId` key-value pair.
For more information, see [Use the compressedBinaryDataFileId property](https://docs.coveo.com/en/69.md).

### 400 - ORGANIZATION_IS_PAUSED

#### Symptoms

Your API request fails with a 400 `ORGANIZATION_IS_PAUSED` error.

#### Cause

You're attempting to make a request against a [Coveo organization](https://docs.coveo.com/en/185.md) that's currently inactive.

#### Solution

Reactivate your organization by logging in to the [Coveo Administration Console](https://platform.cloud.coveo.com/) ([platform-ca](https://platform-ca.cloud.coveo.com/) | [platform-eu](https://platform-eu.cloud.coveo.com/) | [platform-au](https://platform-au.cloud.coveo.com/)).
Then, try pushing your items again.

#### Related articles

[About inactive organizations](https://docs.coveo.com/en/2959.md#about-inactive-organizations)

### 401 - UNAUTHORIZED

#### Symptoms

Your API request fails with a 401 `UNAUTHORIZED` error.

#### Cause

You're trying to make an unauthenticated Push API request.

#### Solution

Include the `Authorization: Bearer <MyAccessToken>` header in your request.
Replace `<MyAccessToken>` with your [Push source API key](https://docs.coveo.com/en/1546.md#api-key).

If you don't have an API key, select your source on the [**Sources**](https://platform.cloud.coveo.com/admin/#/orgid/content/sources/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/sources/)) page, and then click **Create API key** in the Action bar to create one.

### 401 - INVALID_TOKEN

#### Symptoms

Your API request fails with a 401 `INVALID_TOKEN` error.

#### Cause

The [Coveo Platform](https://docs.coveo.com/en/186.md) doesn't recognize the access token you're using to [authenticate](https://docs.coveo.com/en/2120.md) your Push API request.

#### Solution

* If you're using an API key to authenticate your call, this key may have been disabled or deleted in the target Coveo organization, or your IP address may not have access to this key.
Ask an administrator to create a new API key with the required privileges for you.
To do so, they can select your source on the [**Sources**](https://platform.cloud.coveo.com/admin/#/orgid/content/sources/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/sources/)) page, and then click **Create API key** in the Action bar.

* If you're using an OAuth2 token to authenticate your call, this token may be expired.
Try again using a fresh [Coveo OAuth 2.0 token](https://docs.coveo.com/en/123.md).

### 403 - ACCESS_DENIED

#### Symptoms

Your API request fails with a 403 `ACCESS_DENIED` error.

#### Cause

The access token you're using to authenticate your Push API request doesn't grant you sufficient privileges to perform the request.

#### Solution

* If you're using an API key to authenticate your call, this API key may not have the required privileges.
Ask an administrator to create a new API key for you with the required privileges on the Push source.
To do so, they can select your source on the [**Sources**](https://platform.cloud.coveo.com/admin/#/orgid/content/sources/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/sources/)) page, and then click **Create API key** in the Action bar.

* If you're using an OAuth 2.0 token to authenticate your call, your identity may not have the required privileges in the target Coveo organization.
Ask an administrator to grant you these privileges or to create an API key for you with the required privileges on the Push source.
To do so, they can select your source on the [**Sources**](https://platform.cloud.coveo.com/admin/#/orgid/content/sources/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/sources/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/sources/)) page, and then click **Create API key** in the Action bar.

### 403 - ACCESS_DENIED (Request has expired)

#### Symptoms

* You're pushing a batch of items to a file container.

* The API request fails with a 403 `ACCESS_DENIED` error and a message indicating that the request has expired.

#### Cause

The file container `uploadUri` you're using to push items has expired.
File container URLs are only valid for 60 minutes.

#### Solution

* [Create a new file container](https://docs.coveo.com/en/43.md).

* Use the new container's `uploadUri` to [upload item batches](https://docs.coveo.com/en/90.md#step-2-upload-the-content-update-into-the-file-container) and its `fileId` to [transfer the content into your source](https://docs.coveo.com/en/90.md#step-3-push-the-file-container-into-a-push-source).

### 404 - ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3

#### Symptoms

Your API request fails with a 404 `ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3` error.

#### Cause

A large file in a batch of items that you were trying to retrieve from your S3 bucket couldn't be deserialized.

#### Solution

* If you're pushing uncompressed raw textual item data, verify that it's UTF-8 encoded.

* Verify that your JSON payload is a valid JSON object.

* Consider decreasing or splitting up the item update into smaller batches.
For more information, see [Manage batches of items in a Push source](https://docs.coveo.com/en/90.md).

* Verify that there are no duplicate keys within the JSON payload.

#### See also

[JSON deserialization error](#json-deserialization-error)

### 412 - DOCUMENT_LIMIT_EXCEEDED

#### Symptoms

Your API request fails with a 412 `DOCUMENT_LIMIT_EXCEEDED` error.

Also, the [**System Performance**](https://platform.cloud.coveo.com/admin/#/orgid/organization/system-performance/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/organization/system-performance/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/organization/system-performance/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/organization/system-performance/)) page may show that you've exceeded the maximum number of items you can [index](https://docs.coveo.com/en/204.md).

#### Cause

You've reached the maximum number of items you can [index](https://docs.coveo.com/en/204.md) with the Push API.

#### Solution

Delete items in one of your Push [sources](https://docs.coveo.com/en/246.md), preferably using a [batch call](https://docs.coveo.com/en/90.md), or [delete one of your Push sources](https://docs.coveo.com/en/3390.md#delete-a-source).

### 412 - INVALID_PARAMETER

#### Symptoms

Your API request fails with a 412 `INVALID_PARAMETER` error.

#### Cause

At least one of the arguments you provided when making your Push API request is invalid.

#### Solution

Verify that all arguments you pass when making your request are of the expected type (that is, Boolean, integer, long, etc.).

#### Related articles

[Push API reference](https://docs.coveo.com/en/78.md)

### 412 - INVALID_SECURITY_PROVIDER_TYPE

#### Symptoms

Your API request to [disable](https://docs.coveo.com/en/84.md) or [add/update](https://docs.coveo.com/en/167.md) a security identity fails with a 412 `INVALID_SECURITY_PROVIDER_TYPE` error and a message indicating that the security provider isn't an expanded security provider.

#### Cause

You're trying to use the Push API to manage identities in a security identity provider that wasn't created for a Push source.

#### Solution

* To manage identities in a non-Push source security identity provider, see [Manage security identities](https://docs.coveo.com/en/1905.md).

* To manage identities in a Push source security identity provider, see [Create a security identity provider for a secured Push source](https://docs.coveo.com/en/85.md).

### 412 - MISSING_PARAMETER

#### Symptoms

Your API request fails with a 412 `MISSING_PARAMETER` error.

#### Cause

You didn't provide a value for at least one of the required parameters of your Push API request.

#### Solution

Pass a valid argument for all required path and query parameters of the request.

#### Related articles

[Push API reference](https://docs.coveo.com/en/78.md)

### 412 - SOURCE_DOES_NOT_EXIST

#### Symptoms

Your API request fails with a 412 `SOURCE_DOES_NOT_EXIST` error.

#### Cause

The [Coveo Platform](https://docs.coveo.com/en/186.md) can't find the `sourceId` you provided as an argument when making your Push API request.

#### Solution

* Verify that you've correctly spelled the [`sourceId`](https://docs.coveo.com/en/3390.md#copy-a-source-name-or-id) of the target source.

* Verify that the source you want to push content into has been successfully created in the target [Coveo organization](https://docs.coveo.com/en/185.md).

> **Note**
>
> Creating the first source in a new Coveo organization usually takes around 10 minutes, since the organization needs to be provisioned first.
> Once provisioned, creating subsequent sources takes only a few seconds.

### 413 - REQUEST_ENTITY_TOO_LARGE

#### Symptoms

Your API request fails with a 413 `REQUEST_ENTITY_TOO_LARGE` error.

#### Cause

You're trying to perform a push request whose total size exceeds the permitted maximum.
For more information, see [Request size constraints](https://docs.coveo.com/en/63.md#request-size-constraints).

#### Solution

* If you're pushing a single compressed or uncompressed item, use a large file container to push the item, rather than directly providing its `data` or `compressedBinaryData` in the body of the request.
For more information, see [Use the compressedBinaryDataFileId property](https://docs.coveo.com/en/69.md).

* If you're pushing a batch of items, try pushing smaller batches.

* If you're using a large file container to push a single large item, try compressing the item using one of the supported algorithms (Deflate, GZip, LZMA, or ZLib) before pushing it again.

### 415 - UNSUPPORTED_MEDIA_TYPE

#### Symptoms

Your API request fails with a 415 `UNSUPPORTED_MEDIA_TYPE` error.

#### Cause

You're trying to make a Push API request using the wrong content type.

#### Solution

If you're not uploading content to an AWS container, include the `Content-Type: application/json` HTTP header in your request.

If you're uploading content to an AWS container, include the `Content-Type: application/octet-stream` and `x-amz-server-side-encryption: AES256` headers instead.
For more information, see [Use the compressedBinaryDataFileId property](https://docs.coveo.com/en/69.md).

### 429

#### Symptoms

Your API request fails with a 429 response.
The error code depends on the specific [quota](https://docs.coveo.com/en/q39f0439.md) you've reached, for example, `TOO_MANY_REQUESTS`, `TOO_MANY_DOCUMENTS_DAILY`, or `RELATIONSHIP_UPDATE_RATE_LIMIT_EXCEEDED`.

Also, the [**License & Usage**](https://platform.cloud.coveo.com/admin/#/orgid/organization/license-and-usage) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/organization/license-and-usage) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/organization/license-and-usage) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/organization/license-and-usage)) page may show that you've reached a Push API [quota](https://docs.coveo.com/en/q39f0439.md).

#### Cause

* You've exceeded one of your Push API quotas.

* This error can also occur when first using the Push API after a period of inactivity (around 15 minutes).
In such cases, the Push API needs to perform requests to other Coveo APIs, and it's possible to exceed the allowed number of requests in a given amount of time, or the allowed number of concurrent requests to those other APIs.
As a consequence, you may be throttled by those other APIs.

* Coveo declined your request due to a [reduced indexing capacity](https://docs.coveo.com/en/n91c0225.md).

#### Solution

* If you've exceeded one of your Push API quotas, wait until the quota resets.
For example, wait until midnight UTC for a daily quota, and respect the quota going forward.
Also, you can implement an [exponential backoff strategy](https://docs.coveo.com/en/n91c0225.md#how-can-i-automatically-handle-the-situation) to retry your requests after a certain amount of time.

* If you haven't exceeded one of your Push API quotas, wait until your requests are no longer being throttled before using the service again.
In the future, make Push API requests at a slower pace, especially after a period of inactivity.

#### Related articles

* [Push API quotas and constraints](https://docs.coveo.com/en/63.md)

### 5XX

#### Symptoms

Your API request fails with a 5XX error.

#### Cause

The request encountered 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](https://aws.amazon.com/blogs/compute/error-handling-patterns-in-amazon-api-gateway-and-aws-lambda/).

#### Solution

* If you're getting a `502 Bad Gateway` error, verify that the `documentId` for the item is URL-encoded, and then try again.

* If you're not responsible for the error, try performing the request again (with an exponential backoff).
AWS issues typically resolve themselves, given enough time.

* You can monitor the status of Coveo from [status.cloud.coveo.com](https://status.cloud.coveo.com).

## Indexing process and other issues

The following issues can occur after a Push API request succeeds, during the subsequent [indexing pipeline](https://docs.coveo.com/en/1893.md) stages.

* [Items don't appear in search results after a successful push](#items-dont-appear-in-search-results-after-a-successful-push)

* [JSON deserialization error](#json-deserialization-error)

* [Total metadata size limit exceeded](#total-metadata-size-limit-exceeded)

* [Source refresh timeout](#source-refresh-timeout)

* [Out of sequence operation](#out-of-sequence-operation)

* ["Delete old items" request doesn't delete items](#delete-old-items-request-doesnt-delete-items)

* [Item is set as HTML in the payload but indexed as plain text](#item-is-set-as-html-in-the-payload-but-indexed-as-plain-text)

### Items don't appear in search results after a successful push

#### Symptoms

* Your Push API request returned a `202 Accepted` or `200 OK` response with no error.

* Items don't appear in search results or the [**Content Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/browser/)) immediately after the push.

#### Cause

A success response from the API means the request was received and queued, but it doesn't mean the items were processed and are available in the index yet.

After a successful push, the items enter the indexing pipeline, where processing time may vary as it depends on factors such as indexing load and the number of items being processed.

As a result, there's an expected delay between a successful API call and the items being searchable.
This is normal behavior, not an error.

#### Solution

* Allow a few minutes to pass after a successful push, then check the [**Content Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/browser/)) or run a search to verify the items have been indexed.

* If the items still don't appear after several minutes, check the [**Log Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/log-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/log-browser/)) for errors during the `Consuming` or `Indexing` stages of the pipeline.
These stages can fail independently of the initial API request.

#### Related articles

* [About the Push API processing delay](https://docs.coveo.com/en/32.md)

* [Coveo indexing pipeline](https://docs.coveo.com/en/1893.md)

### JSON deserialization error

#### Symptoms

* You pushed a batch of items to a Coveo source, but some or all items failed to be indexed.

* In the [**Log Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/log-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/log-browser/)), you see the `ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3` error code during the `Consuming` stage.

#### Cause

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.

See the [JSON standard documentation rules regarding strings](https://datatracker.ietf.org/doc/html/rfc8259#section-7).

#### Solution

When uploading batches of items to a file container, use JSON libraries or tools for your programming language to format the content correctly.

#### See also

[404-ERROR_DESERIALIZING_BATCH_DOCUMENT_FROM_S3](#404-error_deserializing_batch_document_from_s3)

### Total metadata size limit exceeded

#### Symptoms

When trying to push an item to your Coveo source, the [**Log Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/log-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/log-browser/)) shows the item as rejected with the `TOTAL_METADATA_SIZE_EXCEEDS_LIMIT` error code.

#### Cause

The total metadata size of the item you're trying to push exceeds the Push API metadata size limit.

#### Solution

The limit can't be increased.
You must reduce the size of the metadata you're trying to push.

#### Related articles

* [Push source item metadata](https://docs.coveo.com/en/115.md)

* [Push API quotas and constraints](https://docs.coveo.com/en/63.md)

### Source refresh timeout

#### Symptoms

* The [**Log Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/log-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/log-browser/)) shows no errors.

* The [**Activity Browser**](https://platform.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/organization/activity-browser/)) shows a communication issue with error code `SOURCE_REFRESH_TIMEOUT` and a message indicating that the source operation was stopped due to inactivity.

#### Cause

The source was left in the `REBUILD` status for too long without any activity.

#### Solution

1. Perform a [`Set the status of a Push source`](https://docs.coveo.com/en/35.md#update-the-status-of-a-push-source) request to set the source status to `REBUILD`.

1. Once the source shows as `Retrieving content`, perform another [`Set the status of a Push source`](https://docs.coveo.com/en/35.md#update-the-status-of-a-push-source) request to set the source status back to `IDLE`.

1. After a few minutes, the source will return to the idle state and display `Ready to receive content`.

### Out of sequence operation

#### Symptoms

* The [**Log Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/log-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/log-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/log-browser/)) shows the `OUT_OF_SEQUENCE_OPERATION` error code on an item.

* Other symptoms may vary.
For example, an `Add` operation may appear as successful (that is, green in the [**Activity Browser**](https://platform.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/organization/activity-browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/organization/activity-browser/))), with the operation result being `Skipped`.

#### Cause

You provided [`orderingId`](https://docs.coveo.com/en/147.md) values on add, update, or delete requests that break the chronological sequence.

#### Solution

Depending on the severity of the situation, you may need to [reset the Push source](https://docs.coveo.com/en/35.md#reset-a-push-source).

To prevent this issue from happening again, don't provide `orderingId` values on Push API requests when the Coveo service automatically assigns this value as the current 13-digit number of milliseconds since the Unix Epoch.

To use the [`Delete old items`](https://docs.coveo.com/en/131.md) request, you can [inspect an item](https://docs.coveo.com/en/2053.md#inspect-search-results) to find its `orderingId` value.

### "Delete old items" request doesn't delete items

#### Symptoms

* You performed a [`Delete old items`](https://docs.coveo.com/en/131.md) request.

* The status of the request was `Success`.

* No items were deleted.

#### Cause

The [`orderingId`](https://docs.coveo.com/en/147.md) parameter represents the 13-digit number of milliseconds since the Unix Epoch.
The `orderingId` value you set in the request is lower than that of all items in the source.

#### Solution

Perform the [`Delete old items`](https://docs.coveo.com/en/131.md) request again using an appropriate `orderingId` value.
To find an appropriate value, [inspect an item](https://docs.coveo.com/en/2053.md#inspect-search-results) in your source to see its `orderingId`.

### Item is set as HTML in the payload but indexed as plain text

#### Symptoms

* You added or updated an item, whether using the [`Add or update an item`](https://docs.coveo.com/en/133.md) HTTP request or by pushing a batch of items.

* You specified in your payload that the item is an HTML item.
For example, your payload may have included the following key-value pairs:
+
```json
{
  "data": "<article>This is an HTML item.</article>",
  "fileExtension": ".html"
}
```

* The [**Content Browser**](https://platform.cloud.coveo.com/admin/#/orgid/content/browser/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/browser/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/browser/)) shows the item content indexed as raw text.
For example, with a `TXT` file type or with a [Quick view](https://docs.coveo.com/en/1712.md#preview-an-item-with-the-quick-view-tab) showing the raw item data, including the HTML tags.

#### Cause

The [document processing manager (DPM)](https://docs.coveo.com/en/191.md) is unable to [detect](https://docs.coveo.com/en/1893.md#detecting) the file type based on the item content.
The [DPM](https://docs.coveo.com/en/191.md) doesn't consider the `<article>` tag as a strong enough signal that the file type is HTML.

#### Solution

Wrap the item content in stronger HTML tags, such as `<html>` and `<body>`, to help the [DPM](https://docs.coveo.com/en/191.md) detect the file type as HTML.
For example, your payload may have to look like the following:

```json
{
  "data": "<html><body><article>This is an HTML item.</article></body></html>",
  "fileExtension": ".html"
}
```

#### Related articles

[Coveo indexing pipeline](https://docs.coveo.com/en/1893.md#detecting)