landsatxplore icon indicating copy to clipboard operation
landsatxplore copied to clipboard

UNAUTHORIZED_USER: Unable to validate user API permissions error.

Open jinwooy44 opened this issue 2 years ago • 12 comments

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

jinwooy44 avatar Apr 21 '22 07:04 jinwooy44

I have the exact same issue.

tristanmtg avatar Apr 21 '22 09:04 tristanmtg

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

uminaty avatar Apr 21 '22 10:04 uminaty

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

tristanmtg avatar Apr 21 '22 10:04 tristanmtg

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

uminaty avatar Apr 22 '22 07:04 uminaty

Not working still.

tristanmtg avatar Apr 22 '22 09:04 tristanmtg

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

uminaty avatar Apr 22 '22 12:04 uminaty

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

tristanmtg avatar Apr 22 '22 12:04 tristanmtg

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

timea-kl avatar Apr 26 '22 00:04 timea-kl

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

samokhyn avatar Apr 26 '22 06:04 samokhyn

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

uminaty avatar Apr 26 '22 08:04 uminaty

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.

samokhyn avatar Apr 26 '22 13:04 samokhyn

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

uminaty avatar Apr 27 '22 07:04 uminaty