Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication error #60

Closed
ThomasWilli opened this issue Nov 28, 2017 · 4 comments
Closed

authentication error #60

ThomasWilli opened this issue Nov 28, 2017 · 4 comments

Comments

@ThomasWilli
Copy link

ThomasWilli commented Nov 28, 2017

Hi
Thanks for the great package.

getSurveys() keeps telling me
Qualtrics API raised an authentication (401) error - you may not have the required authorization. Please check your API key and root url.

Well, obviously that seems (and most likely is) very stupid of me. However, I followed the documentation and registered using:
registerOptions(api_token="MYTOKEN", root_url="ROOTURL")

I also consulted the API Docs of Qualtrics and can't come up with a different rooturl... Do you have any advice on this?

Thanks in advance.
Tom

@frankvanpraag
Copy link

frankvanpraag commented Nov 28, 2017 via email

@ThomasWilli
Copy link
Author

Hmm... No I did not. Strange error.

Following the example provided here I'm still getting the Error in qualtRicsResponseCodes(res, raw = raw) : Qualtrics API raised an authentication (401) error - you may not have the required authorization. Please check your API key and root url.

@frankvanpraag
Copy link

frankvanpraag commented Nov 29, 2017 via email

@JasperHG90
Copy link
Collaborator

Hi Thomas,

Thanks for your comment. Like @frankvanpraag suggested, the most likely situation is that your token is outdated. That error only occurs when authentication with the Qualtrics API fails. You can request a new token in your qualtrics dashboard. If the problem persists, try using your token/root url using the tool offered in the qualtrics API docs (e.g. https://api.qualtrics.com/docs/create-response-export, bottom of page) and perhaps contact support staff at Qualtrics.

I'm closing this issue since this is not an issue related to the qualtRics package.

Best,

Jasper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants