Closed ghsnd closed 8 years ago
should be fixed now, bellow is an example of an error sent:
{
"timestamp": 1441020243229,
"message": "No content in the body of the response.",
"error": "Bad Request",
"status": 400,
"exception": "eu.freme.eservices.eentity.exceptions.BadRequestException",
"path": "/e-entity/dbpedia-spotlight/documents"
}
Fixed!
When sending a request with plain text as input and give
json-ld
as informat (which is wrong of course), a500 Internal Server Error
occurs.Example:
gives
because in the code, a body is expected for json-ld contents (DBpediaSpotlight.java:100). Maybe the error message can be more informative.