Foehnsupport | 2017-12-05 11:06:05 UTC | #1
Hi all,
Can someone confirm if the Web Services Data Action supports the HTTP header: "Content-Type": "application/x-www-form-urlencoded"
Can anyone shed any light on the following error code, the remote end confirms a successful API request:
{ "status": 500, "code": "internal.server.error", "message": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "messageParams": {}, "contextId": "b8554d84-4cdc-47a1-b68e-52ed76cf8d7a", "details": [], "errors": [ { "status": 200, "code": "INTERNALSERVERERROR", "message": "REST call for action execute failed. Message:Response was reported as success. However, we were unable to process response. [b8554d84-4cdc-47a1-b68e-52ed76cf8d7a] [b8554d84-4cdc-47a1-b68e-52ed76cf8d7a]", "messageParams": {}, "details": [], "errors": [] } ] }
Thanks
ChrisDibble | 2017-12-05 15:17:37 UTC | #2
Hi and welcome to the developer forum! Returning a urlencoded response from the remote web service is not currently supported for data actions. The response from the external web service is required to be JSON with a content type header of application/json to reflect this.
-Chris
system | 2018-01-05 15:17:53 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 2188