Replies: 1 comment
-
Never mind. Just having one of those days... curl -X 'POST' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Can someone post a working data payload for creating a part via the API? I've tried every possible permutation I can and get the same error every time.
{
"@id": "/api/errors/400",
"@type": "hydra:Error",
"title": "An error occurred",
"detail": "You tried to create a new entity through the relation 'App\Entity\Parts\Part#category', but this is not allowed. Please create the entity first and then reference it through an IRI!",
"status": 400,
"type": "/errors/400",
"hydra:title": "An error occurred",
"hydra:description": "You tried to create a new entity through the relation 'App\Entity\Parts\Part#category', but this is not allowed. Please create the entity first and then reference it through an IRI!"
}
Beta Was this translation helpful? Give feedback.
All reactions