Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] 503 Request Error; Invalid Client or Invalid Client Credentials #91

Open
geodegarmo opened this issue Nov 25, 2024 · 3 comments
Open
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@geodegarmo
Copy link

Question

Formulate your question in a clear and structured way, providing context and links to the resources raising issues.

NOTE: Remove any confidential information, such as Sentinel Hub credentials!

Additional context

Add any information that would help us supporting you.

Hello, Thank you for taking the time to read this help/support request. I have been having issues running the example sentinel2-cloud-detector notebook([https://github.com/sentinel-hub/sentinel2-cloud-detector/blob/master/examples/sentinel2-cloud-detector-example.ipynb]). I keep getting stuck on row 6 of the ipynb and receiving an error about Invalid Client or Invalid Client Credentials.

For this to work at least according to the documentation at SentinelHub. I only need to update my client_secret and client_id to access the Sentinelhub and download imagery. So, I updated the config file with (client_secret and client_id) to ping the API.

NOTE: I am able to get a session access_token using curl from the command line.

So, that said, I am uncertain as to why downloading imagery is not working for the Sentinelhub Process API.

Any help would be appreciated, maybe someone else has experienced this exact issue?

@geodegarmo geodegarmo added help wanted Extra attention is needed question Further information is requested labels Nov 25, 2024
@zigaLuksic
Copy link
Contributor

Hi @geodegarmo

Can you try checking in the notebook (just before you try to execute the download) that your config.sh_client_id and config.sh_client_secret are set to the correct value (by printing and checking them)?

If they are, can you perhaps post what you get if you print(config) (this should automatically hide your access info, but you can omit that part for further safety, since you already checked that those are correct)

@geodegarmo
Copy link
Author

geodegarmo commented Nov 26, 2024

image

Okay, so I did this, and I have posted the image for reference. BTW, I am still getting a 503 error when attempting to go to this site...
image

@zigaLuksic
Copy link
Contributor

Can you perhaps run any of the examples in this notebook or do you get the same error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants