Updating Reponse - ERROR G_2 | XM Community
Skip to main content
Solved

Updating Reponse - ERROR G_2

  • September 19, 2018
  • 7 replies
  • 74 views

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

Best answer by ralbritton

I called support and they helped me figure out the issue
View original

7 replies

christopeter
Level 2 ●●
Forum|alt.badge.img+1
  • Level 2 ●●
  • 57 replies
  • September 19, 2018
@ralbritton, Check all fields properly you are passing.

RKT
Level 2 ●●
Forum|alt.badge.img+1
  • Level 2 ●●
  • 14 replies
  • September 19, 2018
Please contact support

  • Author
  • 6 replies
  • September 19, 2018
> @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?

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
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

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+39
  • Level 6 ●●●●●●
  • 1144 replies
  • September 26, 2018
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.

  • Author
  • 6 replies
  • Answer
  • September 26, 2018
I called support and they helped me figure out the issue

Forum|alt.badge.img+1
  • 4 replies
  • January 10, 2024
ralbritton wrote:

I called support and they helped me figure out the issue

What was the solution?


Leave a Reply