Troubleshooting GraphQL deployment with Sanity CLI login

11 replies
Last updated: May 24, 2020
I"m attempting to deploy graphql updates and am getting Request returned HTTP 401. Is there a read me on how to authorize?
May 24, 2020, 12:35 AM
Did you ‘sanity login’? From the CLI?
May 24, 2020, 12:57 AM
May 24, 2020, 12:57 AM
Hey, thanks for the reply.
May 24, 2020, 1:07 AM
Do you know which login 'sanity login' is looking for?
May 24, 2020, 1:08 AM
The login you use for manage.sanity.io
May 24, 2020, 1:09 AM
My main sanity.io login didn't work last attempt.
May 24, 2020, 1:09 AM
🤷‍♂️ I’m on mobile right now. I’d have to try again on my computer to see what the login flow is for the CLI. I don’t remember off hand
May 24, 2020, 1:10 AM
I downgraded to node 12 and it's now prompting me to choose login. Progress!
May 24, 2020, 1:10 AM
I'll let you know how it goes. Thanks.
May 24, 2020, 1:10 AM
Np!
May 24, 2020, 1:12 AM
Cool, that worked. Thanks again.
May 24, 2020, 1:12 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?