Skip to content

Gitea throws error 400 when mirroring starred repository #9

@Jefferderp

Description

@Jefferderp

Hello!

When the script attempts to mirror a starred repository, my local Gitea instance throws the following error:

[28/01/2023 16:57:47]    ⭐  Star'ed Repository : Julow/Unexpected-Keyboard
400 [{"classification":"DeserializationError","message":"json: cannot unmarshal string into Go struct field MigrateRepoOptions.uid of type int64"}] {"repo_name": "Unexpected-Keyboard", "description": "A lightweight virtual keyboard for developers.", "clone_addr": "https://github.com/Julow/Unexpected-Keyboard.git", "mirror": true, "private": false, "uid": "failed", "service": "github", "wiki": true, "auth_token": "redacted"}

I've performed a fresh git clone, replacing only my config.json, but it hasn't helped.

What version of Gitea have you tested this against? If the API has changed, I may need to update my local instance.

Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions