intuit / intuit/auto

404 when running auto info

Open
#2,259 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.5k
Forks
221
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I'm attempting to setup `auto` with the appropriate tokens from Github and npm and my setup fails. The error after running `yarn auto create-labels` instructs me to run `auto info` to diagnose the issue. `yarn auto info` fails with a 404 indicating that I may have incorrect permissions for my token, despite providing the token `repo` access.

**To Reproduce**

1) `yarn add --dev auto`

2) Get tokens with read/write permissions from Github and npm and put them in `.env` with proper labels

3) Run `yarn auto info` and observe the following failure:

```bash
✖ error Received 404!

This usually because the GitHub token you're using doesn't have the correct permissions to the repo.

The token used with auto must have at least "write" permission to your repo (michael-prosper/storybook-design-system-tutorial.git (​​)) to create releases and labels.

You can check the permission for you token by running "auto info".

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```

**Expected behavior**

Info pertaining to my current token setup should be displayed.

**Screenshots**

Screenshot 2022-09-27 at 4 40 14 PM

**Environment information:**

lol this is my issue

```txt

```

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.