I use the v3 API under the login of a group user account to pull in data from several surveys, most of which are owned by another account. Most of the time I pass the lastResponseId parameter to increase the response time, especially on surveys with a lot of responses. I have never had an issue with this method until now. I have a survey that allows me to download the full data set, but when I attempt to pass it a lastResponseId I get the following 400 Response:
"meta": {
"httpStatus": "400 - Bad Request",
"error": {
"errorMessage": "lastResponseId not found.",
"errorCode": "PRE_9"
},
I have been testing within the Qualtrics testing sandbox here: https://api.qualtrics.com/docs/create-response-export
Other surveys I test in here are successful, it is only this survey. And I have tried 15 different response IDs, all return 400 errors. All the responses are marked as Finished in Qualtrics.
I have verified that the survey owner has marked all the collaboration options, and I cannot find similar issues on the forum. Has anyone dealt with this issue before?
Thank you!
Page 1 / 1
Fixed by passing a start date parameter of the last response End Date instead of the ID, still not sure why the last response ID resulted in this error though. Not an ideal solution as I would prefer to use an ID instead of converting times to UTC.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.