# How to get errror details for HTTP POST error 400

**URL:** <https://community.stardog.com/t/how-to-get-errror-details-for-http-post-error-400/2470>\
**Category:** Support\
**Created:** [May 21, 2020, 2:09pm UTC](https://community.stardog.com/t/how-to-get-errror-details-for-http-post-error-400/2470 "2020-05-21T14:09:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![R3000](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/r3000/32/358_2.png) [@R3000](https://community.stardog.com/u/R3000)\
**Post date:** [May 21, 2020, 2:09pm UTC](https://community.stardog.com/t/how-to-get-errror-details-for-http-post-error-400/2470/1 "2020-05-21T14:09:34Z")

</div>

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(IRIImpl.java:47) ~[stardog-stark-model-7.2.1.jar:?]  
> at com.stardog.stark.impl.IRIImpl.(IRIImpl.java:29) ~[stardog-stark-model-7.2.1.jar:?]

---

<div class="post-metadata">

**Author:** ![R3000](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/r3000/32/358_2.png) [@R3000](https://community.stardog.com/u/R3000)\
**Post date:** [May 22, 2020, 1:03pm UTC](https://community.stardog.com/t/how-to-get-errror-details-for-http-post-error-400/2470/2 "2020-05-22T13:03:07Z")

</div>

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...

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 5, 2020, 1:11pm UTC](https://community.stardog.com/t/how-to-get-errror-details-for-http-post-error-400/2470/3 "2020-06-05T13:11:07Z")

</div>

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