decaporg / decaporg/decap-cms

API_ERROR __ is not a valid ref name

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

Description

**Describe the bug**
When attempting to save pages, an API ERROR will come up stating the article's name isn't a valid ref name.

**To Reproduce**
1. [Go to example page](https://cheeseepedia.org/admin/#/collections/Showtapes/entries/Chuck%20E%20Cheese%20Hicksville%20Grand%20Re-Opening%20Show)
2. Edit Article
3. Save Article
4. See error

**Expected behavior**

**Screenshots**
![image](https://github.com/user-attachments/assets/0bdee86c-28a4-4d74-83be-26c17604bbc6)

**Applicable Versions:**
- Decap CMS version: 3.4.0
- Git provider: Github
- OS: POP OS
- Browser version Firefox

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

**Additional context**
This started happening after I had issues where changing an article would rename it and save it under a different file (eg "My Article.html" into "my-article.html"). I messed with article slugs and settings a few times to try and have it save under the original filename, but then this error happened.

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.