Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

How to Integrate with CircleCI - Error: runner failed (exited with 101)

4 replies
Last updated: Jun 20, 2022
Hello, when I try to integrate it with CircleCI, it gets a login error. is anyone knows how can I pass it through Sanity Token? thanks
  #!/bin/bash -eo pipefail
sanity graphql deploy --dataset=staging --tag default --playground

Error: You must login first - run "sanity login"
    at node_modules/@sanity/cli/bin/sanity-cli.js:707:672
    at deployApiActions (node_modules/@sanity/core/lib/actions/graphql/deployApiAction.js:68:18)
Error: 
Exited with code exit status 1

Step failed
Error: runner failed (exited with 101)
Task failed
Jun 20, 2022, 9:14 AM
I think you can pass it as a
SANITY_AUTH_TOKEN
environment variable.
Jun 20, 2022, 9:16 AM
Thank you, I am trying right now.
Jun 20, 2022, 9:28 AM
Backporting the outcome here: it seems to work. šŸ™‚
Jun 20, 2022, 10:21 AM
Thank you really, it is working šŸ™
Jun 20, 2022, 10:22 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?