11-27-2019 06:10 AM - edited 03-16-2021 05:09 AM
Salesforce Output tool used in a non-English Designer produces the following error:
Error - ToolId 1: ツール#93: Error trying to create the job. HTTP/1.1 400 Bad Request ... Data from server: xmlns="http://www.force.com/2009/06/asyncapi/dataload"> InvalidJob Unable to parse Job
The cause is due to passing in a non-English operation value to Salesforce as selected in the "Output Operation" option in the Salesforce Output tool.
An example of a non-English (Japanese) output operation options in Salesforce Output tool:
Value passed to Salesforce:
<?xml version="1.0" encoding="UTF-8"?> <jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload"> <operation>更新</operation> ... </jobInfo>
To address this, please update the "Gui.html" file to use English operation values so the "Output Operation" options will display in English instead.
<label>XMSG("Output Operation")</label> <alteryx-pluginwidget type="DropDown" id="dataItemOutputOptions" dataName="OutputOptions"> <alteryx-option>XMSG("Update")</alteryx-option> <alteryx-option>XMSG("Insert")</alteryx-option> <alteryx-option>XMSG("Delete")</alteryx-option> </alteryx-pluginwidget>
<label>XMSG("Output Operation")</label> <alteryx-pluginwidget type="DropDown" id="dataItemOutputOptions" dataName="OutputOptions"> <alteryx-option>Update</alteryx-option> <alteryx-option>Insert</alteryx-option> <alteryx-option>Delete</alteryx-option> </alteryx-pluginwidget>
With the change, the "Output Operation" options will show "Update", "Insert" and "Delete" in English instead.