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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Bad Request - Error in...
Power Automate
Unanswered

Bad Request - Error in query syntax

(0) ShareShare
ReportReport
Posted on by 6

Hi, 

 

I'm building a flow which first filters a dataverse table and applies a condition to check if todays date minus 60 days is the same as a date entered in the table when an assessment took place.  If it is and email reminder is sent.  What I would like to do is then update the dataverse table with the date the email is sent.  However, each time I try I receive 

 

{
  "error": {
    "code": "0x80060888",
    "message": "Bad Request - Error in query syntax."
  }
}
 
Here's a picture of the flow: 
 
Jbrooks78_0-1692705330537.png

 

Within the "Update a row" I selected the table and the row ID to be updated and entered the following expression to capture the date:  formatDateTime(convertFromUtc(utcNow(), 'Eastern Standard Time'), 'yyyy-MM-dd').
 
Jbrooks78_1-1692705560982.png

The inputs are correct but the error appears on the outputs.  Any ideas how I can resolve? 

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at
    Re: Bad Request - Error in query syntax

    Hi @Jbrooks78 ,

     

    Your expression looks fine, so I believe that your problem is probably on the reference to the table record to be updated. I see that you are using the 'ID' dynamic content in 'Row ID', however you should be using the GUID of the table, which usually matches to your table's name. You can identify it by checking the property description (it must contains 'Unique Identifier for entity instances'):

    rzaneti_0-1692707584464.png

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 

  • Jbrooks78 Profile Picture
    6 on at
    Re: Bad Request - Error in query syntax

    Thanks so much I've updated and this now works - YAY!!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard