forge_credentials_rejected
The GitLab or Gitea instance rejects the given address or credential. The `subcode` says why: `not_a_forge_instance`, `redirected`, `repository_not_found`, `insufficient_permissions` or `unauthorized`.
| Code | Type | HTTP | Category |
|---|---|---|---|
forge_credentials_rejected | invalid_request_error | 422 | Task Integrations |
Cause
The GitLab or Gitea instance rejects the given address or credential. The subcode says why: not_a_forge_instance, redirected, repository_not_found, insufficient_permissions or unauthorized.
What to do
Depending on the subcode: use the final base URL of the instance, without redirects; check the repository path; and generate a valid token with permissions on that repository before connecting again.
Related
All Task Integrations error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.