Monday, June 22, 2026

#1148 - Resubmit errors via Factory API

Introduction

Many OIC customers resubmit errored flows via the factory api, this works, but sometimes a little more detail is helpful. Ergo this blog post. Let's start with a couple of errored async flows.

Resubmit Errors via Factory API

Here are my 2 errors -

I will resubmit via the factory api - first, let's check out the api docs -

The response description is as follows -

Here we see a 202 response code, which tells us that this api is, per default, async.

I try it out in postman - 


and get the following response -

Empty body and 202 response.

The instances have been resubmitted -

I now engineer a couple of more errors - 

I return to postman and change the add the following return parameter to the url -

https://design.integration.us-phoenix-1.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/errors/resubmit?integrationInstance=myOICInstance&return=sync 

This will ensure I get a sync response.

The response has the following format.

{
    "acceptedIds": [
        "BhYp_G7OEfGJYpvwjtaODQ",
        "_qQwUm7NEfGj4tHFvE-1xw"
    ],
    "links": [
        {
          ...
    ],
    "recoveryJobId": "wT50027OEfG_or0gmGmhLg",
    "resubmitRequested": true,
    "resubmittedFailedInstances": [],
    "resubmittedInstancesCount": 2
}










 

No comments: