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.
How do I resolve this?
Best Answer
C
CJ Wee
said
almost 7 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.
2. Select "Related objects" and "Fields", and then click "Ok".
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.
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.
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
almost 7 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.
2. Select "Related objects" and "Fields", and then click "Ok".
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.
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.
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.
Saul Macht
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.
How do I resolve this?
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.
2. Select "Related objects" and "Fields", and then click "Ok".
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.
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.
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.
CJ Wee
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.
2. Select "Related objects" and "Fields", and then click "Ok".
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.
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.
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.