Scenario: While running ‘gulp extension:fetch’ command, an error will be displayed in the terminal, saying the number of active access tokens has exceeded.
Reason: Once you have used all permitted number of tokens for the current role, there will show ‘number of active access tokens exceeded’ error.
Solution: To resolve the error, we need to inactivate an existing active token.
To make a token inactive:
- Go to Setup –> Users/Roles –> Access Tokens
- Click on the ‘Edit’ button of any active token for the current user and role.
- Check the ‘Inactive’ check box and save.
Now you can create a new token to fetch and deploy your theme or extension.