We are pleased to inform you that Sentinel Hub now supports also PlanetScope PSScene and 8-band products. More information is available in our recent forum post.
Thank you! We thought those images weren’t available as of now. After a few days testing with 8 Band products, we are now getting a Token Expired Error (something that didn’t happen yesterday). Since this morning, every request we make to create and confirm an order meets this error after an hour of the code running.
We looked at the EO Browser on Sentinel’s platform, and both our orders are still running after 1-3 hours of being created and confirmed. Although yesterday, every order was finalized after 15 - 30 minutes.
HI @javier.soto,
can you be more specifc on “Token Expired Error”? Where exactly this happens and which token you are referring to?
For the delay in order processing, we are checking with Planet to see whether the issue is on our side or theirs.
This is the error we are getting, probably because the oauth token expires after 1 hour of the session being started. Normally, the waiting time between confirming and finalizing an order is 30-40 minutes, so this has never happened before.
Traceback (most recent call last):
File "/.../test_planet.py", line 560, in <module>
planet = SentinelPlanet().get_request()
File "/.../test_planet.py", line 421, in get_request
status, collection_id = self.get_order_info(order_ID)
File "/.../test_planet.py", line 542, in get_order_info
response = self.oauth.get(url)
File "/.../.venv/lib/python3.8/site-packages/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/.../.venv/lib/python3.8/site-packages/requests_oauthlib/oauth2_session.py", line 483, in request
url, headers, data = self._client.add_token(
File "/.../.venv/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 217, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)