cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error: "The response is not in a JSON format." in flow

Hello,

 

I have created an app where a user submits a form, and an approval email is sent to a manager.  Upon approving the email, the user who submitted the form receives an email letting them know their request was approved.  However, certain users are receiving the following error message when they run the flow:

{
  "error": {
    "code"403,
    "source""flow-apim-msmanaged-na-centralus-01.azure-apim.net",
    "clientRequestId""1a76f892-7ed8-4326-be06-d30316772b79",
    "message""The response is not in a JSON format.",
    "innerError""You do not have permission to view this directory or page."
  }
}

 

 

 

 

How can I fix this?  A screenshot of the action that is failing can be seen below.  Thanks!flowfailing.PNG

3 REPLIES 3
PeteMc
Level 8

Re: Error: "The response is not in a JSON format." in flow

If you have a look at one of the failed flow runs can you see what the input parameters were recieved as?

 

Sometimes it is the case that you are passing an invalid or null value.

Anonymous
Not applicable

Re: Error: "The response is not in a JSON format." in flow

Hi @PeteMc,

 

I just checked and the parameters show the correct email addresses.  None of them are blank.

 

I also receive a message at the top of the "Send email" action that just says "Forbidden".

PeteMc
Level 8

Re: Error: "The response is not in a JSON format." in flow

Does the user have send as permission from the address you are sending from in Microsoft Exchange?

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,886)