I am using Flask-OAuthlib and it works fine in my local development environment but as soon as I deploy the code to the live GAE environment I get the following error:
File "/base/data/home/apps/s~xxxx/test-20141215.381476653039842303/lib/oauthlib/common.py", line 129, in urldecode
raise ValueError(error % (set(query) - urlencoded, query))
ValueError: Error trying to decode a non urlencoded string. Found invalid characters: set([u'!']) in the string:
Using that same password which includes the ! character works fine locally, I don't understand what the issue is when the app is deployed.
I'm using Python 2.7.6 locally.
For the URL request I'm using:
uri = add_params_to_uri(url, params)
which is part of oauthlib.common