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 / ODBC and "invalid valu...
Power Automate
Unanswered

ODBC and "invalid value" error when using % character within password - Power Automate desktop

(0) ShareShare
ReportReport
Posted on by 13

hello.

 

Is there a workaround for Power Automate to accept % symbols within a SQL connection string using ODBC file DSN? It appears to deem the character as an "invalid value" despite wrapping the password in {} bracket.

 

See screenshot

 

powerautomate_invalid_value.png

 

 

 

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: ODBC and "invalid value" error when using % character within password - Power Automate desktop

    Single quotes around the password should work

     

    c# - Escape ;(semicolon) in odbc connection string in app.config file - Stack Overflow

  • unslog Profile Picture
    13 on at
    Re: ODBC and "invalid value" error when using % character within password - Power Automate desktop

    Thanks for reply, however that doesn't work.

     

    It appears to be specifically a problem with the % symbol. I also tried other methods mentioned in the link you provided to no avail. the semi-colon within the password works with no problem. Doesn't even in to be wrapped with {} or ''

     

     

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: ODBC and "invalid value" error when using % character within password - Power Automate desktop

    How about %%  ?    Have you considered changing the password?

  • unslog Profile Picture
    13 on at
    Re: ODBC and "invalid value" error when using % character within password - Power Automate desktop

    Hi, 

     

    The %% kinda worked - i.e. the "invalid value" stopped appearing...however this then broke the next step "Execute SQL Query" as the SQL connection variable uses % symbols, so suspect a clash. 

     

    So the workaround to this (if anyone else experiences this behaviour) is to amalgamate the connection string with the SQL query (see screenshot), The only issue with is approach is I'm unable to close the SQL connection (which appears to depends on a connection string variable. 

     

    Connection String2023-05-23 14_34_32.png

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