Question
In the Execute POST component of REST connector, the following error message was output if I specified File in [Input Source] in the Request Settings tab and then executed the script.
What is the cause of this and how can I fix it?
Message code REST0000E
The process of [execute_http_post(Network/REST/POST)] failed. Cause: [javax.json.JsonException: Cannot auto-detect encoding, not enough chars].
Answer
Possible cause
[Output destination] and [Data format] in the Response Settings tab may not be set correctly.
Workaround
Set appropriate data format according to the response body received from the peer server.
If there is no response body or it is unnecessary, set Other in [Data format].
Supplementation
For specifications other than the above, please refer to the following page.
Execute POST
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/rest_execute_http_post.htm
Comments
0 comments
Article is closed for comments.