github-tools / github-tools/github

Error 422 by posting a new tree

Abierto
#533 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3.8k
Forks
809
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi
I am having an issue by posting a new tree on my Github. I wonder if it is my json file:
{"tree": [{
"path": "graphics",
"mode": "040000",
"type": "tree"
},
{
"path": "locale",
"mode": "040000",
"type": "tree"
},
{
"path": "methods",
"mode": "040000",
"type": "tree"
},
{
"path": "migrations",
"mode": "040000",
"type": "tree"
},
{
"path": "prototypes",
"mode": "040000",
"type": "tree"
}]}
, the url I use: https://api.github.com/repos/MyName/MyRepos/git/trees
So, I have this (422) Unprocessable Entity issue, and no further info.
Can you help?
Many thanks
Niko

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.