Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

AutoRefresh token doesn't happen. #36

Open
subramaniank opened this issue Jun 15, 2015 · 0 comments
Open

AutoRefresh token doesn't happen. #36

subramaniank opened this issue Jun 15, 2015 · 0 comments

Comments

@subramaniank
Copy link

Any operation must be retried with a refreshed token in case the token is expired.

https://help.podio.com/hc/communities/public/questions/200517138-Refresh-Token

  File "/home/ubuntu/accounts-server/src/accounts_server/services/consumer_data_service/podio_customer_app.py", line 26, in get_consumer_by_mobile
    results = self.c.Item.filter(app_id=self.app_id, attributes=attributes)
  File "/home/ubuntu/.virtualenvs/accounts-server/src/pypodio2-master/pypodio2/areas.py", line 102, in filter
    type="application/json", **kwargs)
  File "/home/ubuntu/.virtualenvs/accounts-server/src/pypodio2-master/pypodio2/transport.py", line 146, in __call__
    return handler(response, data)
  File "/home/ubuntu/.virtualenvs/accounts-server/src/pypodio2-master/pypodio2/transport.py", line 216, in _handle_response
    raise TransportException(response, data)
TransportException: TransportException({'status': '401', 'content-length': '234', 'server': 'nginx', 'connection': 'keep-alive', 'x-podio-request-id': 'd3RKoSs6', 'date': 'Mon, 15 Jun 2015 05:15:32 GMT', 'content-type': 'application/json; charset=utf-8', 'www-authenticate': 'Bearer realm="podio", error="expired_token"', 'authorization': 'Bearer realm="podio", error="expired_token"'}): {"error_parameters":{},"error_detail":null,"error_propagate":false,"request":{"url":"http:\/\/api.podio.com\/item\/app\/xxxxxxx\/filter\/","query_string":"","method":"POST"},"error_description":"expired_token","error":"unauthorized"}
freko247 pushed a commit to freko247/podio-py that referenced this issue Jul 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant