yannforget / landsatxplore

Search and download Landsat scenes from EarthExplorer.
MIT License
221 stars 97 forks source link

UNAUTHORIZED_USER: Unable to validate user API permissions error. #78

Open jinwooy44 opened 2 years ago

jinwooy44 commented 2 years ago

Previously, the code worked well. The error "landsatxplore.errors.USGSError: UNAUTHORIZED_USER:Unable to validate user API permissions." occurs. What's the problem?

tristanmtg commented 2 years ago

I have the exact same issue.

uminaty commented 2 years ago

Same thing here, since we had this problem on the same day, it may just be a temporary issue.

tristanmtg commented 2 years ago

It might be linked to the maintenance of EE yesterday ? Because it was working perfectly fine before it.

uminaty commented 2 years ago

I steal have the issue and didn't find a fix. Did you ?

tristanmtg commented 2 years ago

Not working still.

uminaty commented 2 years ago

I may have found the problem. I never made the access request for the machine2machine API. Apparently this can be a problem when making requests via the API. I don't know if you had already done it but if not, here is the link: https://ers.cr.usgs.gov/profile/access

tristanmtg commented 2 years ago

Okay, I just sent a request, let's see...

timea-kl commented 2 years ago

Same with me, very odd as it was just working smoothly before. I've just sent a request too. Did you have any success?

samokhyn commented 2 years ago

I had the same error, but after using an account with access to M2M, everything works fine!

uminaty commented 2 years ago

Ok nice, thank you ! Do you remember how long it takes for the approval ?

samokhyn commented 2 years ago

I'm not sure what I remember because I signed up for M2M over a month ago. It seems to me that 2-3 days.

uminaty commented 2 years ago

Ok I just got approuved and indeed it works fine ! Thank you !