Always getting http 404 resource not found when trying to get Survey responses using X-API-Token | XM Community
Skip to main content

I have an issue with reading the survey-responses using Export/import Survey responses API endpoints. I am using export-responses endpoint. the Uri i am using is “https://{Datacenterid}.qualtrics.com//API/V3/surveys/{SurveyID}/export-responses”. The Survey was created by me and i am using my account and i got the DatacenterID and SurveyID from my QualtricsID’s tab under User Settings. I passed the X-API-Token as well and tried with Tokens from QualtricsID’s tab and as well as the Bearer token i generated from my C# Application which resulted in same http 404 error. I am using SOAPUI tool to test the API call and as well from my C# Console Application. Both ways i get “Http 404 Resource not Found” error. I did set the scope to scope:manage:all for my Bearer token and tried as well but got same error. I attached an example to read my profile using Whoampi endpoint which returns same error. Nt sure if i am missing anything else here.

 

Just as an FYI….This was the API Documentation i used for export-responses endpoint and used the same uri as mentioned there by replacing DatacenterID and SurveyID from my account.

https://api.qualtrics.com/6b00592b9c013-start-response-export


Just as an FYI….This was the API Documentation i used for export-responses endpoint and used the same uri as mentioned there by replacing DatacenterID and SurveyID from my account.

https://api.qualtrics.com/6b00592b9c013-start-response-export

@Laxmi365 The method is POST, in the picture, you’re using GET


Just as an FYI….This was the API Documentation i used for export-responses endpoint and used the same uri as mentioned there by replacing DatacenterID and SurveyID from my account.

https://api.qualtrics.com/6b00592b9c013-start-response-export

@Laxmi365 The method is POST, in the picture, you’re using GET

@Nam Nguyen The screenshot was just another example  GET API call to endpoint “Whoami” to lookup my profile details  which was also giving me same error message. I am assuming if I can get this simple GET request working, the other one may work as well. below is the Post request for export-responses endpoint. For security reasons, i blured the Token,surveyID and datacenterID

.

 


@Laxmi365 It’s v3, not V3. Your syntax is incorrect


@Laxmi365 

 


@Laxmi365

 

@Nam Nguyen Thank you, didn’t realize the version is case sensitive but that solved the problem.


@Laxmi365 Happy to help 👍


Leave a Reply