I already created my account in sentinel-hub, but I want to use it in QGis, I have this error, SentinelHub: Authentication failed, check your credentials.
The client id in the QGIS form should not be your e-mail, but the OAuth client id that you have created on your dashboard under āUser settings > OAuth clientsā.
Best,
Matej
What I am saying is that in the QGIS plugin, the āClient IDā should not be your e-mail, but the OAuth client id.
Dashboard:
QGIS:
Your client id should be something like ā75b432ff-dcd1ā¦ā, while the client secret you got when you created this client id.
Please also have a look at āDebugging/Development Toolsā panel in QGIS, and the āLog messagesā panel; perhaps that might give you additional idea of what is happening. The error from your first post says you have used wrong credentials (e.g. due to typo, an non-existing client id/secret, ā¦)
If that doesnāt work, ask your IT team if perhaps your requests are being blocked or similar; while I doubt it, it could happen.
Good luck,
Matej
Has there been any update to this since March 2022? I followed every step shown in the video and those suggested in this thread. Still I could not get through the login step. The error was the same āAuthentication failed, check your credentialsā. I tried to be extremely careful with the copying/pasting of the client ID and secret many times yesterday and today. Nothing changed. The following is from the Message panel of my QGIS (version 3.32.3-Lima):
2023-11-29T10:27:53 INFO Authentication Manager : Master password has been successfully read from your Password Manager
2023-11-29T10:31:02 CRITICAL SentinelHub : Authentication failed, check your credentials
2023-11-29T10:38:06 CRITICAL SentinelHub : Authentication failed, check your credentials
2023-11-29T10:53:39 CRITICAL SentinelHub : Authentication failed, check your credentials
Thank you in advance for helping me get through this step.
CQ
Hi @cqhuang ,
Did the issue start happening from yesterday? If this is the case maybe double check if you have a valid account.
Another issue could be the deployment. Could you please let me know if you obtain your credentials from Sentinel Hub dashboard or Copernicus Data Space Ecosystem Dashboard? What did you insert for the Service URL?
Hi Chung,
Thank you for looking into this issue. I did not use SentinelHub before, and decided to try it out yesterday. Now that you mentioned where I created my account, I realized I had to create a new account to access the sentinel-hub page.
When I followed the āCreate OAuth clientā of the SentinelHub plugin for QGIS, it directed me to this page (sorry, I have to delete this link because I am only allowed to have at most two links in one post):
(link deleted)
and the āaccount settingsā at this page is linked to:
https://shapps.dataspace.copernicus.eu/dashboard/#/account/settings
I did not pay attention to where I created my first account. Now that you asked the question, I think I got it here. The client ID/secret created from this page did not work in QGIS. After seeing your response, I went to the following page:
https://apps.sentinel-hub.com/dashboard/#/account/settings
The client ID/secret created from there worked in QGIS.
Looks like the video and the link for āCreate OAuth clientā in SentinelHub plugin for QGIS need to be updated.
Again, thank you for looking into this. Your questions are to the point.
CQ
Hi @cqhuang ,
OAuth clients created from both links you mentioned should work. They are simply working on different endpoints.
For the OAuth client created from the Copernicus Data Space Ecosystem, you need to select https://sh.dataspace.copernicus.eu
as the service URL; for the OAuth client created from the Sentinel Hub, you need to select https://services.sentinel-hub.com
as the service URL. Please have a look at this blog post on Copernicus Data Space Ecosystem for more details.
Note that Copernicus Data Space Ecosystem offers general users limited free quotas to use Sentinel Hub APIs. On the other hand, we offer 30-day free trial and users have to pay after the free trial period.
Iāve registered both accounts
Sentinel hub (also created Id credentials (ID client and ID secret) using the QGIS plugin and the server: https://services.sentinel-hub.com
Copernicus data space (also created Id credentials (ID client and ID secret) unisg the QGIS plugin and the server https://sh.dataspace.copernicus.eu
Both solutions appears the same result āAuthentication failedā orā¦ this messageā¦ "error RESTEASY003210 could not find resorce for full path
really sad because I need some data;;; Can anyone help me?
Hi @carol.jk.4 ,
Could you please provide the complete error message? Are you using the SentinelHub v2.0.2?
Hi.
Thats the error. This error just appeared once, the other times just "authentication failed "
Iāve tryed in Sentinel hub plataform using my student account. On the website is everything fine, but the plugging at Qgis doesnāt work.
Iām using a Qgis old version (3.10 la coruƱa) and Iāve asked to reinstall the application bit not sure the version (Iām far from my PC now).
Also, using the copernicus site, Iāve followed all instructions Iāve seen here "https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://dataspace.copernicus.eu/news/2023-9-4-qgis-meets-copernicus-data-space-ecosystem-new-plugin&ved=2ahUKEwjtpof8jqqFAxVZrZUCHTcYBeEQFnoECB4QAQ&usg=AOvVaw3tPVJYvTadVymtTzFprAtd " withou success.
The info I need to use is TIFF images combining sentinel bands and the RGB.
I used to use EOS Landview but since, I guess, 10 days, they are changing for TIFF images.
If the sentinel hub doesnāt work, can anyone help me with an alternative website ou free service? (I donāt need hi resolution image, medium is fine).
Thanksā¦
Carol
Hi @carol.jk.4 ,
Iām pretty sure that the error came from the outdated SentinelHub plugin. Please make sure using the latest SentinelHub plugin.
Iām checking here. The version of this pluging is the 2.0.
I also tryed this morning the anti-virus permissions and is everything fine too.
But nowā¦ is this message:
SentinelHub : HTTPError: server response: "{āerrorā:"RESTEASY003210: Could not find resource for full path: https://services.sentinel-hub.com/auth/realms/main/protocol/openid-connect/tokeninfo"}"
While I canāt solve this issue with the sentinel hub plugging, Iām downloading the images using the sentinel hub online plataform.
But still If someone have the answer it would be tremendously helpful.
Andā¦ one more thingā¦
Does anyone use the WCS ou WFS scripts on QGis? I use them to download statistical data (shp format).
Can we download Tiff images using this method?
Please read the message. The latest version is v2.0.2.