I'm trying to update a resonse using the API but I'm getting an error
{
"meta": {
"httpStatus": "500 - Internal Server Error",
"error": {
"errorMessage": "Internal server error. Please contact Qualtrics support.",
"errorCode": "G_2",
"instanceId": null
},
"requestId": "93a2aa39-ac8c-4a17-9e2a-d6058d56112e"
}
}
PUT REQUEST:
url: https://utahgov.co1.qualtrics.com/API/v3/responses/R_etcxaC3q9p7WCXj
headers: {content-type: application/json, x-api-key: MYAPIKEYHERE}
Request Body:
{
"surveyId":MYSURVEYIDHERE
"embeddedData": {"Status of Application":"Pending"}
}
The above is from testing with PostMan. I've also tried in python with the same results.
Thank you
Page 1 / 1
Please contact support
> @christxy said:
> @ralbritton,
>
> Check all fields properly you are passing.
I'm assuming that the field name would match the data import id field name that you see if you export your data. For example mine is {""ImportId"":""Status of Application""}
Is this assumption correct?
> @ralbritton,
>
> Check all fields properly you are passing.
I'm assuming that the field name would match the data import id field name that you see if you export your data. For example mine is {""ImportId"":""Status of Application""}
Is this assumption correct?
Nope, it should contain the "embedded data name" like in your case "Status of Application"
Did you also try using "Try it out" at below by passing all the required field?
Provide token by clicking on the green key.
https://api.qualtrics.com/docs/update-response
Did you also try using "Try it out" at below by passing all the required field?
Provide token by clicking on the green key.
https://api.qualtrics.com/docs/update-response
In surveyid you have to pass survey code which you can find in account settings or in link.
For embedded variables append with & like &ED[q1]={{q1}} this way you can update response using Postman.and in runner give your CSV file where you stored your updated ed value.
For embedded variables append with & like &ED[q1]={{q1}} this way you can update response using Postman.and in runner give your CSV file where you stored your updated ed value.
I called support and they helped me figure out the issue
I called support and they helped me figure out the issue
What was the solution?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.