Hi, I am trying to create custom component . I created access token with read and write scope for custom component.
But when i run the npx retool-ccl login command I am getting this error.
An error happened while connecting to the Retool backend:
Failed to connect to the url. The error was: {
"cause": {},
"name": "FetchError"
}.
I am able to connect to backend in the postman using the access token, so backend connection is not the issue . We are using self hosted Retool version 3.75.15
Hey @latipsoh ! Welcome to the community and thanks for reaching out.
This is, unfortunately, a super broad error message that typically indicates some sort of networking issue. Do you know how your instance is deployed and what networking layers sit in front of it? Do you see any backend logs indicating that the request made it through?
If it is a networking issue, it's definitely odd that you're able to hit the backend with Postman, though. Can you maybe try a simple backend query with node, instead? Something like: