# Request to retry failed trips

This service can be used to initiate a retry for sending trip data for all trips that did not successfully reach your service.

As mentioned in the [push trip data sectio](https://docs.drivequant.com/push-services/push-data#automatic-retry)n, if your service is down or fails to accept trip data, the system will automatically retry pushing the data the following day. However, we understand that you may need the data sooner. In such cases, we recommend using this service.

This operation is asynchronous. The response contains the number of trips that will be sent again, along with a unique task identifier, which can be used to [monitor the progress of the retry](https://docs.drivequant.com/enterprise/monitoring/get-the-status-of-a-task).

If a task is already in progress, the service will return an error.

{% hint style="info" %}
If you have your **enterprise API key**, you can try the API via this [**link**](https://drivequant.stoplight.io/docs/drivequant-public/d149e4e7e341a-request-the-retry-of-failed-trips)**.**
{% endhint %}

{% openapi src="<https://2525923625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXYIG5U3AO65YYFWJRK%2Fuploads%2FTTiLeuGg8U59w9k5PwxD%2FEnterprise.yaml?alt=media&token=068f1889-59e6-4bc6-8b74-7a985dfce3cb>" path="/push/trips/failed/retry" method="post" %}
[Enterprise.yaml](https://2525923625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXYIG5U3AO65YYFWJRK%2Fuploads%2FTTiLeuGg8U59w9k5PwxD%2FEnterprise.yaml?alt=media\&token=068f1889-59e6-4bc6-8b74-7a985dfce3cb)
{% endopenapi %}

### Response

The table below summarizes the response parameters.

<table><thead><tr><th width="186">Name</th><th width="135">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>taskId</code></td><td><code>string</code></td><td>Unique identifier of the created task</td></tr><tr><td><code>nbItems</code></td><td><code>integer</code></td><td>Number of trips that will be sent again (previously in a <code>FAILED</code> state)</td></tr></tbody></table>
