web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / JSON error when using ...
Power Automate
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.'."

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    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

  • andymoon Profile Picture
    6 on at

    SS1

    SS2

    SS3

    Result1

  • andymoon Profile Picture
    6 on at

    Capture2.PNGCapture3.PNGresult1.PNGCapture1.PNG

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    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

    Approval screenshot

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard