Any operation must be retried with a refreshed token in case the token is expired.
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"}
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