Azure Discovery failing with error: Failed Exploring CI Pattern, Pattern name: Azure - Host (LP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 02:10 PM
Hello,
Has anybody come across an error like below when running Azure Discovery?
"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: 400"
I see this error for the following patterns: Azure Functions, Azure Application Gateway HD and Azure Host (LP) for some of the Azure Datacenters. The same functions work as expected for other datacenters and at most return a warning if there is no data found in them.
Does this error have anything to do with permissions or is it simply saying we are trying to retrieve resource data from a datacenter that doesn't have data specific to that resource and pattern?
Thanks,
Nikita
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 09:35 PM - edited 01-16-2023 09:42 PM
Try checking the same API from postman or other ways from the same mid server and see if that also gives the same response or not to rule out if issue on Azure or SNOW.
Also most probably your pattern might be customized, so check if it is OOB only or not. Also check the mid logs at same time to see if more error detail is available.