lee-dohm / no-response

A GitHub Action that closes Issues where the author hasn't responded to a request for more information
MIT License
38 stars 14 forks source link

RequestError [HttpError]: Resource not accessible by integration #412

Open milahu opened 4 months ago

milahu commented 4 months ago

this action fails in my fork of pyload

/home/runner/work/_actions/lee-dohm/no-response/v0.5.0/dist/index.js:3430
        const error = new requestError.RequestError(message, status, {
                      ^

RequestError [HttpError]: Resource not accessible by integration
full error ``` /home/runner/work/_actions/lee-dohm/no-response/v0.5.0/dist/index.js:3430 const error = new requestError.RequestError(message, status, { ^ RequestError [HttpError]: Resource not accessible by integration at /home/runner/work/_actions/lee-dohm/no-response/v0.5.0/dist/index.js:3430:23 at processTicksAndRejections (node:internal/process/task_queues:96:5) { status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sat, 01 Jun 2024 09:44:42 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=3[15](https://github.com/milahu/pyload/actions/runs/9326445097/job/25681667156#step:2:16)36000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '7C83:1B023E:3F3EE8:748B44:665AED8A', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4996', 'x-ratelimit-reset': '1717238598', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '4', 'x-xss-protection': '0' }, request: { method: 'POST', url: 'https://api.github.com/repos/milahu/pyload/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'octokit-core.js/3.2.4 Node.js/[16](https://github.com/milahu/pyload/actions/runs/9326445097/job/25681667156#step:2:17).20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"name":"feedback wanted","color":"ffffff"}', request: { agent: Agent { _events: [Object: null prototype] { free: [Function (anonymous)], newListener: [Function: maybeEnableKeylog] }, _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object: null prototype] { path: null }, requests: [Object: null prototype] {}, sockets: [Object: null prototype] { 'api.github.com:443:::::::::::::::::::::': [ [TLSSocket] ] }, freeSockets: [Object: null prototype] {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: [25](https://github.com/milahu/pyload/actions/runs/9326445097/job/25681667156#step:2:26)6, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: { map: { 'api.github.com:443:::::::::::::::::::::': [Buffer [Uint8Array]] }, list: [ 'api.github.com:443:::::::::::::::::::::' ] }, [Symbol(kCapture)]: false }, hook: [Function: bound bound register] } }, documentation_url: 'https://docs.github.com/rest/issues/labels#create-a-label' } ```