I got this error loggin in workbench, after setting up a scratch org (it shows a strange custom domain but I red around forums that it's ok since it can be an old unused org).

I went through the couple of posts that referenced the same issue (related to workbench) but i'm able to do the access to prod only, actually credentials does not work selecting sandbox option. Is there any option to activate? All API / permissions checkbox seem to be okay.

To be sure that the problem is not related to the scratch org, I created a new one (even this one has a custom domain) but the error persists.

1 Answer 1


I found a workaround for this issue regenerating the password for the scratch org using the following command:

sfdx force:user:password:generate

After that we can display the new password with the diplay command. The new credential now permits to login without errors

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .