Getting "access denied" invoking debug mode with correct key

Trying to restart in debug mode (due to it hanging consistently).

$ curl -s -X POST   -H "Content-Type: application/json"   -H "Accept: application/json"   -H "Travis-API-Version: 3"   -H "Authorization: token <key>"   -d "{\"quiet\": true}"
  "@type": "error",
  "error_type": "wrong_credentials",
  "error_message": "access denied"

I’ve double-checked that the key is exactly as given in and

Public repositories need this feature enabled individually, as documented in

I’ve enabled this feature for this repository. Another try should work.

1 Like

I suspected so. I had requested debug access in a PM to Bianca before, together with extended forum privileges, so I hoped it was granted.

Maybe we could use a non-misleading error message here?

I just had the same issue and although it didn’t take me long to get to this post, I agree that a more verbose error message would be helpful. Something like “access denied. If you are trying to restart a build in debug mode for a public repository, request permission at”