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 / Can't re-save existig ...
Power Automate
Unanswered

Can't re-save existig flow, because I get 'GetProcedure_V2' failed with status code 'BadRequest

(0) ShareShare
ReportReport
Posted on by 129

Hello,

 

I have a flow that calls an SQL on premises stored procedure that I created several months ago, and I can run it without any problems.

 

But if I just open it and save it without changing anything, I get an error related with 'GetProcedure_V2' failed with status code 'BadRequest.

 

As the problem seams to be related with the stored procedure call, I have tried to delete the call and recreate the same call with all its parameters, but as soon as I click save, I get the error.

 

vllanso_0-1635375003665.png

 

 

The complete error is:  Flow save failed with code 'MultipleErrorsOccurred' and message 'The dynamic operation request to API 'sql' operation 'GetProcedure_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table.\r\nclientRequestId: fda446f4-3dc6-4bcb-866c-b8e9eaa659d9", "error": { "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table." }, "source": "sql-ne.azconn-ne.p.azurewebsites.net" };The dynamic operation request to API 'sql' operation 'GetProcedure_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table.\r\nclientRequestId: fda446f4-3dc6-4bcb-866c-b8e9eaa659d9", "error": { "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table." }, "source": "sql-ne.azconn-ne.p.azurewebsites.net" };The dynamic operation request to API 'sql' operation 'GetProcedure_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table.\r\nclientRequestId: fda446f4-3dc6-4bcb-866c-b8e9eaa659d9", "error": { "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table." }, "source": "sql-ne.azconn-ne.p.azurewebsites.net" };The dynamic operation request to API 'sql' operation 'GetProcedure_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table.\r\nclientRequestId: fda446f4-3dc6-4bcb-866c-b8e9eaa659d9", "error": { "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table." }, "source": "sql-ne.azconn-ne.p.azurewebsites.net" }'.

 

Any clues on how can avoid this error ?

 

Thanks, Victor.

Categories:
I have the same question (0)
  • Verified answer
    vllanso Profile Picture
    129 on at

    Hello everybody,

    Just let you know that I found the reason of why I had the error when re-saving the flow, and at the same time, why the flow did run without errors.

     

    The reason for the error was that the flow had more than one call to other stored procedures that didn't exist any more in the SQL servers. So that was a good reason for the error, so flow will not allow me to re-save the flow because it contained errors (references to no longer existing procedures).

     

    The reason for the flow to run without problems was because the calls to the non-existing sql procedures were not executed in the regular use of the flow, and thus there was no error. Had I passed different parameters to the flow that had made the logic to call the non existing procedures, I should have had the same error.

     

    Regards, Victor.

  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi Victor. 

     

    Thanks for sharing the reason for this error, this will definitely help future PA users with the same error, please mark your own answer as solution to make it easier to find this thread in the future. 

    Kind regards.  

  • CU20111553-0 Profile Picture
    2 on at
    I had a similar issue but in my case, the connection were both looking at the same server however, the source had the servername as just the machine name in lower case while the target had the connection as full servername with domain in upper case. Once I aligned the both and updated redeployed using the pipeline. the issue went away.

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