github-tools / github-tools/github

Error 422 by posting a new tree

Aberta
#533 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
3.8k
Forks
809
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.