Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

JSON error when using switch case

(0) ShareShare
ReportReport
Posted on by 6

I am trying to create what should be a fairly simple flow using a switch case, but every time the flow runs, I get an error that says "The request failed. Error code: '404'. Error Message: 'The response is not in a JSON format.'."

  • andymoon Profile Picture
    6 on at
    Re: JSON error when using switch case

    Approval screenshot

  • v-yuazh-msft Profile Picture
    on at
    Re: JSON error when using switch case

    Hi @ andymoon,

     

     

     

    From your screenshot I could identify that the error in the "Start an approval" action in your flow not the switch case.

     

    Please share a screenshot or more details about the "Start an approval" action in your flow so we could provide a proper workaround for you.

     

     

     

    Regards,
    Alice Zhang

  • andymoon Profile Picture
    6 on at
    Re: JSON error when using switch case

    Capture2.PNGCapture3.PNGresult1.PNGCapture1.PNG

  • andymoon Profile Picture
    6 on at
    Re: JSON error when using switch case

    SS1

    SS2

    SS3

    Result1

  • v-yuazh-msft Profile Picture
    on at
    Re: JSON error when using switch case

    Hi @ andymoon,

     

    Could you please share a screenshot of the configuration of your flow?

     

    Could you please explain more details about the error you meet when the flow runs?

     

    I have made a test on my side and don't have the issue that you mentioned,

     

    The screenshot of my flow as below:

    Capture.PNG

    The flow would run successfully as below:

    Capture.PNG

     

    Please share more details so we could provide a proper workaround for you.

     

    Regards,
    Alice Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow