Closed te-online closed 6 years ago
You can run the library with the environment variable DEBUG=json-api:*
and that'll give you more detailed error messages. You may be able to figure out the issue then, or you can paste the log here and I'll try to help.
Oh, this is helpful, must have missed that option... Thank you, will try that!
must have missed that option
Yeah, it's not documented anywhere, which is my bad. One thing v3 could use is more docs still...
Okay, there was a undefined variable in my transformedAPIRequest. Using the debug option it was easy to spot 😄
When deleting an object the deletion works flawlessly, but the server returns an Internal Server Error. Is this a configuration problem?
Response:
The user is gone after the request.
I take any hints on how to debug this problem :-)
Node version: 9.0.0 json-api version: 3.0.0-beta.1 Request is empty apart from a basic auth header.