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

Error getting token part 2 #345

Open
tpcolson opened this issue Feb 11, 2020 · 2 comments
Open

Error getting token part 2 #345

tpcolson opened this issue Feb 11, 2020 · 2 comments

Comments

@tpcolson
Copy link

Similar to #280, I'm getting

Traceback (most recent call last):
File "C:\Temp\NEXRAD_PYTHON\update-Tiles-From-TPK\update-Tiles-From-TPK\OverWriteTilePackage.py", line 83, in
token= getToken(user, pw)
File "C:\Temp\NEXRAD_PYTHON\update-Tiles-From-TPK\update-Tiles-From-TPK\OverWriteTilePackage.py", line 26, in getToken
return jres['token'],jres['ssl']
KeyError: 'token'

{"error":{"code":400,"message":"Unable to generate token.","details":["'username' must be specified.","'password' must be specified."]}}

Despite using the same, correct username and pw that I can login to AGOL successfully, so the issue IS NOT incorrect username or pw.

@jgravois
Copy link
Contributor

jgravois commented Feb 12, 2020

the issue IS NOT incorrect username or pw.

the error seems to indicate that a username and/or password aren't making it through in the request at all.

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

2 participants