• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Error Troubleshooting
S

Saul Macht

started a topic over 5 years ago
Answered

Salesforce Trigger Error: 414 URI Too Long

I'm getting a 414 URI too long trigger error on my recipe.


The recipe has a Salesforce trigger. I can start my recipe but it doesn't process any jobs and just shows an error on the recipe itself.


image


How do I resolve this?


Best Answer
C
CJ Wee said over 5 years ago

Hi Saul,


The reason for this is most likely because the Salesforce object selected in your trigger has a large number of fields. 


The solution would be to pick the fields that you actually need from the object, and ignore the rest. The following screenshots describe how to do this.


1. In the trigger, navigate to the "Add optional fields" box. Click on this box.


image



2. Select "Related objects" and "Fields", and then click "Ok".


image


3. Select which objects you need. To determine this, think about what data your recipe needs, and which related objects in Salesforce will have this data. By related objects, I mean objects related to your trigger object. 


image


4. Next, select the fields that you need from the Objects selected in the previous field. You'll notice that your selection will be reflected in the step output on the right.


image


In doing so, you reduce the number of fields that Workato needs to fetch from Salesforce in the trigger, limiting it to only fields required in the recipe.


This should resolve the 414 URI too long error.



Answer

CJ Wee

said over 5 years ago

Hi Saul,


The reason for this is most likely because the Salesforce object selected in your trigger has a large number of fields. 


The solution would be to pick the fields that you actually need from the object, and ignore the rest. The following screenshots describe how to do this.


1. In the trigger, navigate to the "Add optional fields" box. Click on this box.


image



2. Select "Related objects" and "Fields", and then click "Ok".


image


3. Select which objects you need. To determine this, think about what data your recipe needs, and which related objects in Salesforce will have this data. By related objects, I mean objects related to your trigger object. 


image


4. Next, select the fields that you need from the Objects selected in the previous field. You'll notice that your selection will be reflected in the step output on the right.


image


In doing so, you reduce the number of fields that Workato needs to fetch from Salesforce in the trigger, limiting it to only fields required in the recipe.


This should resolve the 414 URI too long error.



Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count