Skip to content

"Network error SyntaxError: JSON.parse" when trying to Create a Pull Request #31893

Closed
@dballard

Description

@dballard

Description

I am trying to create a Pull Request on our main repo, and when I click "Create Pull Request" it spins for about 5 - 10 seconds and I get a red error popup "Network error SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" and it does not work.

Interestingly, I've forked the repo to my account, and pushed the main branch and the 1 line change branch there and can create the PR successfully on that forked repo, so my guess is something is going on with our main repo specifically.

Included is a Trace log from gitea of me doing this action. Nothing jumped out at me as wrong or being in error

Repo that I cannot create a new PR on
https://git.openprivacy.ca/cwtch.im/cwtch-ui/

Repo on same instance with same PR successfully created
https://git.openprivacy.ca/dan/cwtch-ui/pulls/3

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/dballard/a94491d24576b8cd590a62d1787ecbc3

Screenshots

No response

Git Version

2.25.1

Operating System

Ubuntu 20.04.6

How are you running Gitea?

Downloaded from https://dl.gitea.com/gitea/ and run as a service with the service files from your docs.

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions