# Query on - Resolve Incident REST API?

**URL:** <https://forum.camunda.io/t/query-on-resolve-incident-rest-api/47272>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [August 31, 2023, 2:53am UTC](https://forum.camunda.io/t/query-on-resolve-incident-rest-api/47272 "2023-08-31T02:53:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![camundabpmlearner](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@camundabpmlearner](https://forum.camunda.io/u/camundabpmlearner)\
**Post date:** [August 31, 2023, 2:53am UTC](https://forum.camunda.io/t/query-on-resolve-incident-rest-api/47272/1 "2023-08-31T02:53:51Z")

</div>

Hi,  
I can see below rest api to resolve incident:

[Camunda Platform REST API](https://docs.camunda.org/rest/camunda-bpm-platform/7.20-SNAPSHOT/#tag/Incident/operation/resolveIncident)

When I tried it throws 400 error(“type”: “InvalidRequestException”, “message”: “Cannot resolve an incident of type failedJob”,)

Later I came to know we have to use JOB retry api here.

I would like to know when to use this resolveincident api?

Thank you in advance 🙂

---

<div class="post-metadata">

**Author:** ![Adagatiya](https://forum.camunda.io/user_avatar/forum.camunda.io/adagatiya/32/22124_2.png) [@Adagatiya](https://forum.camunda.io/u/Adagatiya)\
**Post date:** [August 31, 2023, 4:07am UTC](https://forum.camunda.io/t/query-on-resolve-incident-rest-api/47272/2 "2023-08-31T04:07:42Z")

</div>

Hi @camundabpmlearner ,

as per documentation both inbuilt incident types „failedJob“ and „failedExternalTask“ are not resolvable except by increasing retry count or manually executing. For custom incident types it is possible, tho. In consequence the „resolveIncident“ api is only used in combination with custom incidents or when you disable/overwrite the default behavior.

For reference:

> **[Incidents | docs.camunda.org](https://docs.camunda.org/manual/7.12/user-guide/process-engine/incidents/#creating-and-resolving-custom-incidents)**
>
> documentation of the Camunda Platform

Kind regards  
Adagatiya
