Skip to content

Error getting token part 2 #345

@tpcolson

Description

@tpcolson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions