Unable to login via cloud to create custom component with react

  1. My goal:
    I followed the instructions to create custom components here:
    Build custom React components | Retool Docs

  2. 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
    }
  1. Steps I've taken to troubleshoot:
  2. Additional info: (Cloud or Self-hosted, Screenshots)

Hey there @Usman_Siddique and welcome to the forum!

What subscription you are in? I think (but I'm now doubting this) that this is available for Business and Enteprise only..... I haven't been on Teams subscription for a while

Actually the above is false, apologies for that.

I found what may be the issue:

You need to be an Admin.