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 / Bad Request - Error in...
Power Automate
Answered

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:
  • Verified answer
    rzaneti Profile Picture
    4,489 Super User 2026 Season 1 on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard