-
My goal:
I followed the instructions to create custom components here:
Build custom React components | Retool Docs -
Issue:
I create access token but cannot see the scope for 'custom components'
"So, I create it with the scope of Retool RPC and get error when executing
npx retool-ccl login
The error is:
An error happened while connecting to the Retool backend:
- Access token is not valid or does not have custom component permissions.
Unhandled error: {
err: Error: Access token is not valid or does not have custom component permissions.
at getCCLClient (/Users/usman.siddique/Code/new-custom-component/node_modules/@tryretool/custom-component-support/getCCLClient.js:38:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Object.initCommand [as handler] (/Users/usman.siddique/Code/new-custom-component/node_modules/@tryretool/custom-component-support/commands/login/init.js:15:19),
msg: null
}
- Steps I've taken to troubleshoot:
- Additional info: (Cloud or Self-hosted, Screenshots)