Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to persist entry: API_ERROR: Not Found #2317

Closed
eclcoop opened this issue May 5, 2019 · 4 comments
Closed

Failed to persist entry: API_ERROR: Not Found #2317

eclcoop opened this issue May 5, 2019 · 4 comments

Comments

@eclcoop
Copy link

eclcoop commented May 5, 2019

Describe the bug
Trying to create a new entry, it does not save nor publish, returns "Failed to persist entry: API_ERROR: Not Found". I read similar issues posted but haven´t found the solution yet.
Thank you

To Reproduce
1.Login to cms admin
2.Click on Quick add
3.Create Entry
4.Click Publish
-->

  • Netlify CMS version: 2.0.0
  • Git provider: GitHub
  • OS: Windows 10

CMS configuration

backend:
  name: git-gateway
  branch: master
media_folder: "img/uploads"
site_url: https://madrizbio.netlify.com
display_url: https://madrizbio.netlify.com
logo_url: "/img/mabdi_logo.png"
slug:
  encoding: "ascii"
  clean_accents: true
  sanitize_replacement: "_"
collections:
  - name: directorio
    label: Tiendas
    folder: "colecciones/_directorio"
    create: true
    slug: "{{slug}}"
    fields:
      - {label: "Nombre de la tienda", name: "title", widget: "string"}
      - {label: "Región", name: "region", widget: "string"}
      - {label: "Página web", name: "web", widget: "string", required: false}
      - {label: "Dirección", name: "address", widget: "string"}
      - {label: "Teléfono", name: "phone", widget: "string"}
      - {label: "Imagen de la tienda", name: "img_path", widget: "image", required: false}
      - {label: "Twitter", name: "twitter", widget: "string", required: false}
      - {label: "Facebook", name: "facebook", widget: "string", required: false}
      - {label: "Instagram", name: "instagram", widget: "string", required: false}
  - name: "objetivos"
    label: Objetivos de MadrizBio
    folder: "colecciones/_objetivos"
    create: false
    fields:
      - {label: "Objetivo", name: "title", widget: "string"}
      - {label: "Icon", name: "icon", widget: "hidden"}
      - {label: "Descripción objetivo", name: "body", widget: "markdown"}
  - name: "oferta"
    label: Oferta de MadrizBio
    folder: "colecciones/_oferta"
    create: false
    fields:
      - {label: "Título oferta", name: "title", widget: "string"}
      - {label: "Imagen Oferta", name: "img_path", widget: "image"}
      - {label: "Descripción oferta", name: "body", widget: "markdown"}
  - name: "regiones"
    label: Regiones
    folder: "colecciones/_regiones"
    create: true
    slug: "{{slug}}"
    fields:
      - {label: "Nombre de la región", name: "title", widget: "string"}
@tomrutgers
Copy link
Contributor

Are you using a Github organization account by any chance? #1816 (comment)

@eclcoop
Copy link
Author

eclcoop commented May 6, 2019

Yes I am

@tomrutgers
Copy link
Contributor

@eclcoop Does the fix described here work for you?

@eclcoop
Copy link
Author

eclcoop commented May 6, 2019

@tomrutgers thank you, I disabled the OAuth for the organization and it works fine.

@eclcoop eclcoop closed this as completed May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants