Forum Discussion
a new error
{“response_map”: {“error_list”: [{“message”: "Request to login.microsoftonline.com failed authentication: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: b2e03ecc-49a0-4023-a68c-f20007d5c100\r\nCorrelation ID: 2ef4b658-77fa-48d2-ad3c-9c8596c8a08d\r\nTimestamp: 2021-09-14 14:35:52Z","error_codes":[7000215],"timestamp":"2021-09-14 14:35:52Z","trace_id":"b2e03ecc-49a0-4023-a68c-f20007d5c100","correlation_id":"2ef4b658-77fa-48d2-ad3c-9c8596c8a08d","error_uri":"https://login.microsoftonline.com/error?code=7000215\“}”}]}, “http_status_code”: 500}
- bojanvelevski4 years agoValued Contributor
Hey @aditya.gupta41,
Use the following expression in a mapper, and you’ll receive the output you need:
$group.map(x=>x.Response.values().reduce((acc,curr)=> acc.concat(curr),[]).reduce((acc,curr)=> acc.extend(curr), {}))
Regards,
Bojan - aditya_gupta414 years agoContributor
This worked for me. Thanks
Related Content
- 3 years ago
- 4 years ago