When I make a Graphql/HTTP POST request to the graphql endpoint for ShipHero, the API always returns a 500 error. The same method/body works in Postman with no issues.
I also pointed both requests to a requestbin, and couldn’t see any tangible difference
What is the error message (if any)?
500 error from the endpoint
Please share your workflow
Share the output returned by the last node
[
{
"message":
"Unexpected error. Please contact a system administrator."
}
]
Information on your n8n setup
n8n version: 1.17.1
Database (default: SQLite): SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Sadly that is all I have at the moment without seeing something that shows the post data from both attempts. It looks like something is returning the “please contact a system administrator” message so it would be handy to see where that is coming from.
I’ve managed to get it working by setting the Request Format to JSON on the GraphQL node. Thanks for your assistance and hope this helps someone else in the future.