Hello Sentinel Hub community,
I’ve been using the SentinelAPI
function from the sentinelsat
package to download Sentinel images, and recently, I encountered an issue after the base website changed from “The Sentinels Scientific Data Hub” to “https://sh.dataspace.copernicus.eu”.
I am consistently getting the following error:
CustomOAuth2Error: ({'status': 400, 'reason': 'Bad Request', 'message': 'Illegal client_id', 'code': 'OAUTH_ERROR'})
I have updated the base URL in my code, but it seems like there might be an issue with the OAuth2 authentication. I’m using the correct credentials, and I have also verified that the client_id
is correctly set.