decaporg / decaporg/decap-cms

"API_ERROR Update is not a fast forward" On users uploading images

Open
#7,349 0 comments 0 reactions 0 assignees View on GitHub
area: media-library type: bug
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**
For any user that is not someone with read-write access to the repository on GitHub, uploading an image will give them "Update is not a fast forward", or no error and won't commit any images.
The site is enabled for open_authoring, and users have been submitting article changes and new articles just fine. People with read/write access also can submit images just fine.

**To Reproduce**
1. Go to https://cheeseepedia.org/admin/#/collections/wiki
2. Upload an image through the Media tab
4. See error

**Expected behavior**
The image uploads as a commit.

**Screenshots**
![image](https://github.com/user-attachments/assets/a22db451-a7dc-4286-8b38-520bb8cccc32)

**Applicable Versions:**
- Decap CMS version: 3.4.0
- Git provider: GitHub
- OS: POP OS
- Browser version: FireFox 133.0

**CMS configuration**
https://github.com/The64thGamer/cheeseepedia/blob/main/static/admin/config.yml

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.