Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Microsoft flow - bad request. error in query

(0) ShareShare
ReportReport
Posted on by 7,316

Hi, I am new to using flow and trying to just create a simple flow. Nothing complex.

I am getting this very generic error:

{"error":{"code":"0x0","message":"Bad Request - Error in query syntax.","innererror":{"message":"Bad Request - Error in query }

Not sure how to debug and what to troubleshoot for looking at this error. Can someone please guide me through this? Thanks for any help.

All I am doing is copying data from excel online and trying to import it into Dynamics 365 entity(Incident).

I have taken the import template from Dynamics 365 exported from advanced find and stored it in OneDrive.

My flow is picking up the file, getting the rows but won't update them in Dynamics(throws above error).

pastedimage1582147668867v1.png

What am I doing wrong? For the sake of testing I am only trying to update one field along with mandatory fields like Customer ID, Owner ID.. etc. Please help.

  • meenoo Profile Picture
    7,316 on at
    RE: Microsoft flow - bad request. error in query

    hmm..

    I looked into the article and followed it but still getting the same error when it comes to update record action.

    It just simply says 'Bad Request - Error in query syntax.'

    I wish it errors out with some more information about which field fails, why it fails etc.

    This is not helping me and I can't figure out what is failing and why is it failing!! How else do I troubleshoot? Somebody please help!

    Thanks.

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Microsoft flow - bad request. error in query

    Maybe something is wrong with the record identifier.

    Please refer to this blog: www.c-sharpcorner.com/.../

  • meenoo Profile Picture
    7,316 on at
    RE: Microsoft flow - bad request. error in query

    Here.. is this what you mean?

    pastedimage1582148799659v1.png

  • meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Microsoft flow - bad request. error in query

    Hello partner,

    Can you Please share more screenshots ? I want to see the last step in more details.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans