Hi, I'm trying to test API Connections using Postman and Powershell script for Export-Responses but I keep getting 404 Survey Not found Error.
The Survey ID is static and found in our Qualtrics Account. I don't understand why the response is "Survey Not Found".
Please help as i need to do 2 more API calls up to requesting the zip file form Qualtrics with FileID
Check if the API token that you have used is of same same account, in which the survey is present. Because it may happen that the project is created in some other user account and we are using some other accounts API key or vice versa.
Thanks for the reply rondev. I was the only who created the API Token.
here's what i've done.
- create client credentials. use this in my Postman Type "API Key"
- generate token to be use for X-API-TOKEN used in Header
i've also tried using oauth to get bearer token and use it in postman but still getting same response.
https://www.qualtrics.com/community/discussion/comment/29006#Comment_29006and was the survey created in your account as well?
https://www.qualtrics.com/community/discussion/comment/29007#Comment_29007no the surveys was just shared to me and i only used the survey ids found from my account settings
https://www.qualtrics.com/community/discussion/comment/29008#Comment_29008So here is the problem, either the survey should be created in your account or you need to use the API token of the user account in which the survey was created.
https://www.qualtrics.com/community/discussion/comment/29009#Comment_29009ok i understand. So i can ask the user who created the survey to Generate Token for me that i can use as X-API-TOKEN for the API calls right? Will that token expire?
https://www.qualtrics.com/community/discussion/comment/29010#Comment_29010Yes, you need to use that token and it does not expires and remains as long as the user exist.
https://www.qualtrics.com/community/discussion/comment/29011#Comment_29011thank rondev for giving me clarity. I will post an update in here on the result of the advise that you have given me.
Hi rondev ,
Just to update you on this issue. The user who created the surveys generated the token for me which i use to test in Postman. That worked thank you very much.
I was able to run my power shell script and downloaded the survey files.
Thanks again for your help.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.