Hi,
I am creating one integration flow in which I make the call to the api.
I am using API Trigger
The flow includes calling the api if the response is 400 then it have to retry.
Its working when i use the Test to call the Trigger after increasing the execution deadline more than 10 min. But not working using the curl request .
Can anyone give me idea to implement the async call via API trigger or any other option.
Here I am adding the workflow.
@aakashsharmaa5 @Graham-Vosper @HansGeorg
I am using curl --location 'https://integrations.googleapis.com/v2/projects/myproject/locations/asia-south1/integrations/einvoic...' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"invoice_request": {
"rtnprd": "052024",
"supplyType": "B2B",
"gstin": "27**********1Z9",
"apigeeToken": "Bearer asdfdfgsgghtehsrt",
"callBackUrl": "https://data.com/data_upload",
"callBackAuthToken": "Bearer sadfsgdsasdf"
}}'
for async call but it fails and give error for the api on 1st retry (retry on hold).
it should try for the retry 3 times as i given in error handling
If you want to call the API Trigger Asynchronously, then you can use this API instead of the execute API.
https://cloud.google.com/application-integration/docs/reference/rest/v2/projects.locations.integrati...
Hi
thanks for the suggestion but i am already using the schedule"https://integrations.googleapis.com/v2/projects/myproject/locations/asia-south1/integrations/einvoic...