Showing results for 
Search instead for 
Did you mean: 
New Member

Salesforce 502 URI Too Long

I have a few flows with Salesforce working fine, but when connecting to "Cases" object in Salesforce I get the error below

the flow begins "when a record is modified"

Salesforce Object Type: Cases (standard salesforce object)

  "error": {
    "innerError": {
      "message""Salesforce failed to complete task: Message: <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre>\r\nclientRequestId: e79d1c08-e375-4a13-b185-3e3af05b8783",
      "errors": []


Additional comment: I do not get the error when working with custom objects

Community Support
Community Support

Re: Salesforce 502 URI Too Long

Hi @Amador,


Could you please share a screenshot of your flow's configuration?


The error message indicates that the URI requested by the client on your side is longer than the server is willing to interpret. More details about the URL Too Long error, please check the following article:


I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:20.JPGThe flow works successfully as below:21.JPG



Please consider take a try to clear cache of your browser and re-create a new connection to the Salesforce connector within your flow, then try your flow again to check if the issue is solved.


Best regards,




Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (9,814)