iterative / iterative/cml

Error "Resource not accessible by integration" is not helpful

Open
#595 9 comments 2 reactions 1 assignee Claimed by @dacbd View on GitHub
cml-runner ui/ux
Dominant language
JavaScript
Stars
4.2k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

The error `RequestError [HttpError]: Resource not accessible by integration` is raised when you use incorrect secret (I've used `secrets.GITHUB_SECRET` instead of a personal access token with repo+workflow permissions). Unfortunately I had no idea I'm doing this wrong and the error message wasn't pointing out what should be done in this case.

Imho, it would be great to have more obvious error message here.

Full error log:
https://github.com/iterative/yolov5/runs/2837021374?check_suite_focus=true

Related discussion: https://github.com/iterative/cml/pull/554#issuecomment-847748393

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.