Error: HTTP 403: this endpoint is not available for public-only tokens #176

Closed
opened 2026-10-05 01:45:56 +02:00 by adam · 1 comment
Owner

Dont know why, error like "Error: HTTP 403: this endpoint is not available for public-only tokens" occurs when mirroring https://github.com/makerspet/oomwoo.git

[Org Creation] Attempting to get or create organization: github-mirrors (attempt 1/3)

[Org Creation] Organization github-mirrors already exists with ID: 2

Mirroring repository makerspet/oomwoo to organization github-mirrors as oomwoo

Error while mirroring repository oomwoo: HTTP 403: this endpoint is not available for public-only tokens

Publishing event to channel mirror-status:xxxxxxxxxxxxxxx for user xxxxxxxxxxxxxxx 

Skipping duplicate event with key: repo-38de35c0-05e0-4c18-9cee-1f3e5ae1912c-failed

Retrying repository oomwoo (attempt 2): Failed to mirror repository: Failed to mirror repository: HTTP 403: this endpoint is not available for public-only tokens

The token I use in gitea-mirror has access to public repos only

Image

While https://github.com/makerspet/oomwoo.git is exactly a public repo.
Why would I got 403 code? Wired...

Dont know why, error like "Error: HTTP 403: this endpoint is not available for public-only tokens" occurs when mirroring https://github.com/makerspet/oomwoo.git ```log [Org Creation] Attempting to get or create organization: github-mirrors (attempt 1/3) [Org Creation] Organization github-mirrors already exists with ID: 2 Mirroring repository makerspet/oomwoo to organization github-mirrors as oomwoo Error while mirroring repository oomwoo: HTTP 403: this endpoint is not available for public-only tokens Publishing event to channel mirror-status:xxxxxxxxxxxxxxx for user xxxxxxxxxxxxxxx Skipping duplicate event with key: repo-38de35c0-05e0-4c18-9cee-1f3e5ae1912c-failed Retrying repository oomwoo (attempt 2): Failed to mirror repository: Failed to mirror repository: HTTP 403: this endpoint is not available for public-only tokens ``` The token I use in gitea-mirror has access to public repos only <img width="918" height="793" alt="Image" src="https://github.com/user-attachments/assets/ba0b03a2-49f3-4832-81f6-351a143d2c33" /> While https://github.com/makerspet/oomwoo.git is exactly a public repo. Why would I got 403 code? Wired... <!-- github-sync-id:5516352339 -->
adam closed this issue 2026-10-05 01:45:56 +02:00
Author
Owner

Gitea issues confirmed, not gitea-mirror issue.

Gitea issues confirmed, not gitea-mirror issue. <!-- github-comment-id:5774837761 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#176