Rodman Pineda
Posted Answers
Answer
I am having exactly similar issues parsing Jason values. I am trying to call Graph API & get Announcement messages & trying to save in SharePoint list. I'll show my flow details, but here is the error I get:
The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')?['body']?['value']' is of type 'Null'. The result must be a valid array.
Calling https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages successuully, in Graph explorer & in the FLow. Till there its Ok.
Then I created the JSON Schema by pasting the downloaded the value. Here is the schema:
{"type": "object","properties": {"statusCode": {"type": "integer"},"headers": {"type": "object","properties": {"Transfer-Encoding": {"type": "string"},"Vary": {"type": "string"},"Strict-Transport-Security": {"type": "string"},"request-id": {"type": "string"},"client-request-id": {"type": "string"},"x-ms-ags-diagnostic": {"type": "string"},"OData-Version": {"type": "string"},"Date": {"type": "string"},"Content-Type": {"type": "string"},"Content-Length": {"type": "string"}}},"body": {"type": "object","properties": {"@@odata.context": {"type": "string"},"@@odata.nextLink": {"type": "string"},"value": {"type": ["array","null"],"items": {"type": "object","properties": {"startDateTime": {"type": "string"},"endDateTime": {"type": "string"},"lastModifiedDateTime": {"type": ["string","null"]},"title": {"type": "string"},"id": {"type": "string"},"category": {"type": "string"},"severity": {"type": "string"},"tags": {"type": "array","items": {"type": "string"}},"isMajorChange": {"type": "boolean"},"actionRequiredByDateTime": {},"services": {"type": ["string","null"],"items": {"type": "string"}},"expiryDateTime": {},"hasAttachments": {"type": ["boolean","null"]},"viewPoint": {},"details": {"type": ["string","null"]},"body": {"type": "object","properties": {"contentType": {"type": "string"},"content": {"type": "string"}}}},"required": ["startDateTime","endDateTime","lastModifiedDateTime","title","id","category","severity","tags","isMajorChange","actionRequiredByDateTime","services","expiryDateTime","hasAttachments","viewPoint","details","body"]}}}}}}
This is how my flow looks like
Please let me know, what changes are required. I can try the solution mentioned above, but where all should I make these changes.
Any help would be great.
Answer is posted for the following question.
Answer
However, if the IRS overpays you don't start making plans to take an extra vacation, buy a new car or give your savings account an extra
Answer is posted for the following question.
What should i do if the irs overpaid me?
Answer
Aiman ( Arabic : أيمن) is an Arabic language male given name It is an alternative Latin alphabet spelling of the name Ayman It is derived from the Arabic
Answer is posted for the following question.
What does ayman mean in arabic?