- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 10:02 AM
Hi,
I'm seeing multiple errors in some of the Azure patterns, e.g. Azure - Host (LP), Azure Application Gateway HD, Azure Functions, all returning the same or very similar errors. Each pattern returns, in the pattern logs:
Exception occurred while executing operation Cloud REST - add response to context. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Cloud request failed. URL: https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01 Status: 429 Response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache, Pragma: no-cache, Content-Length: 421, Content-Type: application/json; charset=utf-8, Expires: -1, Retry-After: 1, Strict-Transport-Security: max-age=31536000; includeSubDomains, x-ms-correlation-request-id: 037aef4d-63e5-44e0-aca6-e02638cd0716, x-ms-user-quota-resets-after: 00:00:04, x-ms-user-quota-remaining: 0, x-ms-ratelimit-remaining-tenant-resource-requests: 0, x-ms-resource-graph-request-duration: 0:00:00:00.0143723,
All with a Check Processing step message of
Check Processing Success
2022-10-31 09:49:00: Identification Engine: Discovery status is FAILURE, Identification sections in pattern faile
d: section: Azure Host, error: Match step predicate is not matched. Failed Condition(s): [(${resource_response} : value=) IS NOT EMPTY ] .
Has anyone seen the same or similar errors?
Thanks
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 10:13 AM - edited 04-15-2025 02:34 AM
Hi @Mike I2
This is a known issue and due to the Azure resource throttling constraints and when we have huge hits to azure endpoints, all requests would be throttled and further throws 429 errors.
To mitigate this constraint from azure, we have some workarounds implemented in recent releases. Check this feature from our docs.
Try and let me know if it works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 10:13 AM - edited 04-15-2025 02:34 AM
Hi @Mike I2
This is a known issue and due to the Azure resource throttling constraints and when we have huge hits to azure endpoints, all requests would be throttled and further throws 429 errors.
To mitigate this constraint from azure, we have some workarounds implemented in recent releases. Check this feature from our docs.
Try and let me know if it works for you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 10:29 AM
Adding to what SiD2 says, i would recommend the following to reduce the number of API calls made -
- it is likely you are using only a few azure regions (datacenters), not all. However in the schedule you probably chose all datacenters. remove the datacenters which you are not using, in the schedule.
- if you have more than a couple of mid servers with the azure / cloud capabilities it would also send parallel requests which azure would throttle. you don't have to use a lot of mids. keep it down to maybe a couple for starters. if you have just 1 that's fine 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 11:03 AM
Hi Ram, Thanks for the advice. I have limited the schedule to just 5 regions; the rest aren't being used. Mid server wise, I've got two configured with the capabilities. I'll reduce that to one and see how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 11:01 AM
Thanks, I'll try that using Exponential Backoff. I'll let you know how it goes.