API Import Response failure for IDP - Type mismatch on field, Cannot convert to array | XM Community
Skip to main content

Hi XM Community,

I wanted to check whether any of you happen to know what may be the best way to get a response that contains a multiple choice / allow multiple answer question and import it using API. We are setting up a workflow using WebServices task to get a lifecycle EX response into an Imported Data Project (IDP) but we are getting the following error for the specific question:

{ "name": "The task is configured incorrectly. Review the task’s configuration then try again.", "message": "{\"meta\":{\"requestId\":\"...\",\"httpStatus\":\"400 - Bad Request\",\"error\":{\"errorCode\":\"CE_400\",\"errorMessage\":\"Type mismatch on field Q5, Cannot convert to array.\"}}}", "needRetry": false }
 

(we have a successfully running workflow that is similar for a different lifecycle EX but that one does not have such question type).

We were trying multiple field types on the target IDP project to ensure we can report / build dashboards on the received values (so we tried Text Set and Number Set) but it seems to not be working as expected.

Thanks!

Be the first to reply!

Leave a Reply