How to get errror details for HTTP POST error 400

It is a pain to always go to the server log files to see the error details.

  • Can you please provide guidance on the HTTP response attributes in such cases?

For example I see this warning (which really should be an error) in stardog.log file:

WARN 2020-05-21 09:58:46,760 [stardog-user-3] com.complexible.stardog.protocols.http.server.StardogUndertowErrorHandler:accept(61): Unexpected exception was handled by the server
java.lang.IllegalArgumentException: No separator character found in the URI: @id
at com.stardog.stark.impl.IRIImpl.getLocalNameIndex( ~[stardog-stark-model-7.2.1.jar:?]
at com.stardog.stark.impl.IRIImpl.( ~[stardog-stark-model-7.2.1.jar:?]

So I have partially solved my problem:

  • The error message detail is being displayed in Postman
  • I have also fixed my JSON-LD load problem and parsing error is gone now.

However I still don't know how to print using python requests and making HTTP POST calls and getting errors such as 400...

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.