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

Should it really return the user object on an error? #4

Open
JohnnyP10 opened this issue Sep 26, 2017 · 0 comments
Open

Should it really return the user object on an error? #4

JohnnyP10 opened this issue Sep 26, 2017 · 0 comments

Comments

@JohnnyP10
Copy link
Member

here is what i am seeing:

headers {'Authorization': 'Token None'}
pennkey 'johnrp'
response {'error': 'Invalid token.', 'status_code': 403}
user <User: johnrp@upenn.edu>
groups []

The issue here is the next step is that it tries to create the groups from None and it then errors.

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

1 participant