cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Amador
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": {
    "code"502,
    "source""asia-001.azure-apim.net",
    "clientRequestId""e79d1c08-e375-4a13-b185-3e3af05b8783",
    "message""BadGateway",
    "innerError": {
      "status"502,
      "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",
      "source""Salesforce.Common",
      "errors": []
    }
  }
}

 

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

1 REPLY 1
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:

https://docs.microsoft.com/en-us/dynamics365/business-central/across-troubleshooting-how-use-financi...

 

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,

Kris

 

 

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

Announcements
firstImage

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!

firstImage

Now Live: Power Virtual Agents Community!

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

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

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

Users online (9,814)