Maybe it can be useful for someone.
I have started to use the Orchestrator API. I was facing the “Invalid credentials, failed to login” error despite of using the correct credentials (same I use log to platform.uipath.com/).
Aparently, at least it was my case, when I changed (weeks ago) the password because I had troubles to login, this was updated only for the platform but no for API (https://platform.uipath.com/api/account/authenticate).
I tried the old password and it worked!
As it occured to some people, I had problems to find find the Tenant Name. You can check it in “My Profile” (click on up-right corner (the orange circle) >> MyProfile)