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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / json Invalid expression
Power Automate
Unanswered

json Invalid expression

(0) ShareShare
ReportReport
Posted on by 16

Hi, 

 

I'm trying to update the workbook via http request. It is some kind of a registry file. When some file is uploaded to the folder the registry file is updated. 

 

I use the "Compose" action to create a JSON object that will hold the parameters for the HTTP request. The JSON object looks like this:

 

{
"table": "registry",
"column": "L",
"row": "=@indexOf({A}, '" & variables('Accountname') & "') + 1",
"value": "uploaded"
}

 

I get Invalid expression error. Please advice!

 

Thank you

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @andriii,

     

    The expression in the row property of the json object looks invalid. I see you are combining an indexOf and a variable with the name AccountName.

     

    Can you share more details about what you want to achieve in that specific expression? This way we can make a suggestion for a valid expression.

  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @andriii,

     

    I just spotted your other thread, which has a bit more context. It is a Excel file formula 😁

     

    My suggestion would be to use string variables for the rest of the Excel formula.

     

    Try something like below instead:

     

    {
    "table": "registry",
    "column": "L",
    "row": "@{variables('IndexOf')}@{variables('AccountName')} @{variables('PostIndexOf')}",
    "value": "uploaded"
    }

     

     

    stringvalues.png

  • andriii Profile Picture
    16 on at

    Thank you for your time and effort!

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard