When submitting a word for contribution. The contribution flow breaks at the point where the jargons editor should add the labels to the pull request.
This leads to the editor stuck but PR is created without the labels.
The submit button should load and turn green with a checkmark icon, get redirected to the jargons editor dashboard then a pull request is created with appropriate label added to it.
The submit button loads and stop. The user don't get directed to the dashboard and a pull request gets created and no label added.
23:01:04 [404] /api/dictionary 6ms
23:02:12 [200] /editor 10069ms
23:02:28 [200] /editor/new 942ms
Project Fork: motuncoded/jargons.dev-test
Branch Created: {
ref: 'refs/heads/word/new/hi',
node_id: 'REF_kwDOP70CerZyZWZzL2hlYWRzL3dvcmQvbmV3L2hp',
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/refs/heads/word/new/hi',
object: {
sha: '99762f9047fbedae3ed1506333917de24ef69f21',
type: 'commit',
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/commits/99762f9047fbedae3ed1506333917de24ef69f21'
}
}
New word added: {
content: {
name: 'hi.mdx',
path: 'src/content/dictionary/hi.mdx',
sha: 'b08e06e6ca939e3c044a9d84bea2e84c03652f40',
size: 58,
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/contents/src/content/dictionary/hi.mdx?ref=word/new/hi',
html_url: 'https://github.com/motuncoded/jargons.dev-test/blob/word/new/hi/src/content/dictionary/hi.mdx',
git_url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/blobs/b08e06e6ca939e3c044a9d84bea2e84c03652f40',
download_url: 'https://raw.githubusercontent.com/motuncoded/jargons.dev-test/word/new/hi/src/content/dictionary/hi.mdx',
type: 'file',
_links: {
self: 'https://api.github.com/repos/motuncoded/jargons.dev-test/contents/src/content/dictionary/hi.mdx?ref=word/new/hi',
git: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/blobs/b08e06e6ca939e3c044a9d84bea2e84c03652f40',
html: 'https://github.com/motuncoded/jargons.dev-test/blob/word/new/hi/src/content/dictionary/hi.mdx'
}
},
commit: {
sha: '633cae1c342d165ca255ccbc0a96c3f7e2263593',
node_id: 'C_kwDOP70CetoAKDYzM2NhZTFjMzQyZDE2NWNhMjU1Y2NiYzBhOTZjM2Y3ZTIyNjM1OTM',
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/commits/633cae1c342d165ca255ccbc0a96c3f7e2263593',
html_url: 'https://github.com/motuncoded/jargons.dev-test/commit/633cae1c342d165ca255ccbc0a96c3f7e2263593',
author: {
name: 'Motunrayo Adeneye',
email: '67984447+motuncoded@users.noreply.github.com',
date: '2025-10-06T22:02:52Z'
},
committer: {
name: 'Motunrayo Adeneye',
email: '67984447+motuncoded@users.noreply.github.com',
date: '2025-10-06T22:02:52Z'
},
tree: {
sha: '8691921b94c804df596929ded6472d9d081cc30c',
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/git/trees/8691921b94c804df596929ded6472d9d081cc30c'
},
message: 'word: commit to "Hi"',
parents: [ [Object] ],
verification: {
verified: false,
reason: 'unsigned',
signature: null,
payload: null,
verified_at: null
}
}
}
RequestError [HttpError]: Resource not accessible by integration - https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
at C:\Users\Administrator\Downloads\projects\jargons.dev\node_modules\@octokit\core\node_modules\@octokit\request\dist-node\index.js:125:21
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async sendRequestWithRetries (C:\Users\Administrator\Downloads\projects\jargons.dev\node_modules\@octokit\auth-app\dist-node\index.js:411:12)
at async requestWithGraphqlErrorHandling (C:\Users\Administrator\Downloads\projects\jargons.dev\node_modules\@octokit\plugin-retry\dist-node\index.js:71:20)
at async Job.doExecute (C:\Users\Administrator\Downloads\projects\jargons.dev\node_modules\bottleneck\light.js:405:18) {
status: 403,
response: {
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/issues/2/labels',
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',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 06 Oct 2025 22:02:55 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; 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': '1AEC:1120EA:1D9ADB8:1AF6CCD:68E43C8E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4998',
'x-ratelimit-reset': '1759791529',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '2',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/motuncoded/jargons.dev-test/issues/2/labels',
'user-agent': 'octokit.js/3.2.2 octokit.js/3.2.2 octokit-core.js/5.2.2 Node.js/22',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"labels":["📖new-word","💻via-jargons-editor"]}',
request: { hook: [Function: bound bound register], retryCount: 0 }
}
}
Has this bug been raised before?
Description
When submitting a word for contribution. The contribution flow breaks at the point where the jargons editor should add the labels to the pull request.
This leads to the editor stuck but PR is created without the labels.
Steps to Reproduce
Expected behavior
The submit button should load and turn green with a checkmark icon, get redirected to the jargons editor dashboard then a pull request is created with appropriate label added to it.
Actual behavior
The submit button loads and stop. The user don't get directed to the dashboard and a pull request gets created and no label added.
Log
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response