github icon indicating copy to clipboard operation
github copied to clipboard

Error 422 by posting a new tree

Open Hermios opened this issue 7 years ago • 1 comments

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

Hermios avatar Dec 15 '18 22:12 Hermios

@Hermios Did you ever end up resolving this issue?

j-rewerts avatar Apr 10 '19 06:04 j-rewerts