Unable to connect to the sandbox environment


I created a new sandbox enviroment for the Datocms. But I received a 401 Error when I tried to change the endpoint to https://graphql.datocms.com/environments/{ENVIRONMENT-NAME}

Any reason? I read some other posts reading the data is not ready when you receice a 401 error. How long it might take to complete?


hello @tess and welcome to Community!

Is that working now? Otherwise you might want to double check that the role attached to your API token has the necessary permissions to operate on the sandbox environment. Have you checked that?

Hi @mat_jack1!

Thanks for replying. I think I got it worked by changing the role on the API token.


1 Like