How to escape from access restricted to API-only users error message?
When I am trying to log in by using SSO, I am required to use two-factor authentication. But when I provide the 2fa code, I get the error that says access is restricted for API-only users. Even though it shows that I have successfully registered for two-factor authentication, I cannot access the UI. It shows that I close the window to continue. I have already confirmed that I am not an API-only user and cleared my cookies and cache; I am getting release notes describing the page. Can anyone please help me understand why I am getting this error message?
Salesforce owns various access control methods like ‘profile,’ ‘permission set group,’ ‘permission set,’ ‘public group,’ etc. If you want to stop getting the error message that says ‘access restricted for API only users, ’ you need to uncheck the ‘API only user’ option. Even though the steps to do this can vary, if you choose the profile option, you can follow the steps:
First, choose setup.
Then choose a quick find textbox key in Profile.
After that, choose the API-only users and select and edit the impacted Profile.