2

I am getting this message whenever I try to run a travis command.
This is the minimal reproducible example:

$ travis version
1.11.1
$ ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
$ travis status
resource not found ({}
)

I am on macOS Ventura / Apple Silicon

I have tried different rub versions, reinstalled the Travis CLI, no success.

de.
  • 7,068
  • 3
  • 40
  • 69
  • I'm having the same issue here. Using --pro raises an error because my account is only for public domain so I tried with --org and with that argument, the error is the same "resource not found ({})" there is something definitively wrong at travis side! – IgnacioHR Jul 01 '23 at 11:22
  • I suggest you reach out to Travis support. They were quick to respond. They should at least improve their error messages. – de. Jul 03 '23 at 07:24

1 Answers1

1

After reaching out to travis support I got the suggestion to first log in using the travis cli like this:

travis login --pro --github-token GITHUB_PERSONAL_ACCESS_TOKEN

Where GITHUB_PERSONAL_ACCESS_TOKEN can be found on GitHub under:
Settings > Developer Settings > Personal access tokens

I could then perform my travis cli tasks without further errors.

While this solved my problem, I still consider this behaviour of the travis CLI a bug.

de.
  • 7,068
  • 3
  • 40
  • 69