function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tech | MilaapTech | Milaap 

Getting error "invalid_grant: authentication failure" sometimes

I am getting error "invalid_grant: authentication failure" for some of my REST Api requests .  Please not that most of the time our Api request requests are fine but ssometime only we are getting this. I am sure that we have not breached API usage limit .


What could be the reason behind it ?

Soumya BeheraSoumya Behera
You need to check the IP restriction . This might happen that if the profile which the user belongs has IP restriction.
Tech | MilaapTech | Milaap
We are making api request for a single user only . And for that user only in in few cases we are getting this error . I don't think it is related to IP restriction.
Tech | MilaapTech | Milaap
Our app is configured with "All users may self-authorize" and "Relax IP restrictions". So it is not related to IP restriction.

This has started after we enhanced our application to run on multiple servers. Could it be related to that?
Sam BSam B
We're having the same issue. Have you found a solution?