ropensci / qualtRics

Download ⬇️ Qualtrics survey data directly into R!
https://docs.ropensci.org/qualtRics
Other
215 stars 70 forks source link

With API token correct, but authentication still failed. #8

Closed tbs08 closed 7 years ago

tbs08 commented 7 years ago

Hi Jasper,

I started to play your package. I used registerApiKey function to register my API and made sure it returned 'TRUE'. However, when i followed steps on vignette and tried to download one specific survey with its survey ID found in the account setting-Qualtrics IDs. It returned the below error:

Query returned status "401 - Unauthorized". Please check your code.

Can you add a user credential argument in your getsurveys functions. Thank you!

JasperHG90 commented 7 years ago

Hi,

Thanks for your email.

1) Make sure you have copied the right key from the menu and that you have API access.

2) Make sure you are the survey owner. If you are NOT the owner and you do not have explicit admin rights, you cannot export data.

3) Use 'getSurveys()' to get a list of surveys on your account and try it with one of the IDs listed in that data frame.

Let me know if that works!

All the best,

Jasper.


Van: jiashen85 notifications@github.com Verzonden: woensdag 14 december 2016 03:48:54 Aan: JasperHG90/qualtRics Onderwerp: [JasperHG90/qualtRics] With API token correct, but authentication still failed. (#8)

Hi Jasper,

I started to play your package. I used registerApiKey function to register my API and made sure it returned 'TRUE'. However, when i followed steps on vignette and tried to download one specific survey with its survey ID found in the account setting-Qualtrics IDs. It returned the below error:

Query returned status "401 - Unauthorized". Please check your code.

What could be possibly wrong? Can you shed some light on it? Thank you!

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/JasperHG90/qualtRics/issues/8, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHtJuxGwIWjaoxO17-73VBP205pfZU1Wks5rH2cmgaJpZM4LMgO1.

tbs08 commented 7 years ago

Hi Jasper,

Thanks for the clarification. I'm not the owner. Maybe that's why I can't export data.

On Dec 16, 2016 11:19 AM, "Jasper Ginn" notifications@github.com wrote:

Hi,

Thanks for your email.

1) Make sure you have copied the right key from the menu and that you have API access.

2) Make sure you are the survey owner. If you are NOT the owner and you do not have explicit admin rights, you cannot export data.

3) Use 'getSurveys()' to get a list of surveys on your account and try it with one of the IDs listed in that data frame.

Let me know if that works!

Also: I'd appreciate it if you would ask these questions on GitHub (under 'Issues'). That way, other people can use solutions if they encounter a similar problem!

All the best,

Jasper.


Van: jiashen85 notifications@github.com Verzonden: woensdag 14 december 2016 03:48:54 Aan: JasperHG90/qualtRics Onderwerp: [JasperHG90/qualtRics] With API token correct, but authentication still failed. (#8)

Hi Jasper,

I started to play your package. I used registerApiKey function to register my API and made sure it returned 'TRUE'. However, when i followed steps on vignette and tried to download one specific survey with its survey ID found in the account setting-Qualtrics IDs. It returned the below error:

Query returned status "401 - Unauthorized". Please check your code.

What could be possibly wrong? Can you shed some light on it? Thank you!

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ JasperHG90/qualtRics/issues/8, or mute the threadhttps://github.com/ notifications/unsubscribe-auth/AHtJuxGwIWjaoxO17- 73VBP205pfZU1Wks5rH2cmgaJpZM4LMgO1.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JasperHG90/qualtRics/issues/8#issuecomment-267631353, or mute the thread https://github.com/notifications/unsubscribe-auth/AJx7LIybcfIt6U5FkecPAJI6zXHcrRjUks5rIrohgaJpZM4LMgO1 .

JasperHG90 commented 7 years ago

Ask the owner to give you admin rights and then try again!