Closed geoexploring closed 1 month ago
Hi @geoexploring ,
I would kindly ask you to post this request in the community forum as it is monitored by more people that will be able to provide you with an answer quickly.
Thanks in advance!
@maximlamare, thank you. I have posted in this link, but they repeatedly direct me to the documentation, which is not helpful.
The problem is solved. I just moved the code to run on an Ubuntu system.
I’m not sure if that was the main reason.
When I use the official example (as shown in the Python code below), I consistently encounter the following error:
oauthlib.oauth2.rfc6749.errors.InvalidClientError: (invalid_client) Invalid client or Invalid client credentials
. Despite changing theOAuth clients
twice, the issue persists.I registered with
Sentinelhub
, not theCopernicus Data Space Ecosystem
, and I am usingsentinelhub == 3.10.2
withpython == 3.9.5
.Can anyone help me resolve this problem? Thank you very much.
When I use the
Copernicus Data Space Ecosystem
client, I met the following error:401 Client Error: Unauthorized for url: https://services.sentinel-hub.com/api/v1/process Server response: "{"status": 401, "reason": "Unauthorized", "message": "You are not authorized! Please provide a valid access token within the header [Authorization: Bearer <accessToken>] of your request.", "code": "COMMON_UNAUTHORIZED"}"
.