-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input validation fails #47
Comments
shouldn't this exception be thrown while validating the params using NIFParameterSet? |
True. I will change the code. |
Still no entities spotted removing input=& with the same text.
|
I'm assuming that this a valid cUrl call
Running the test against the test.txt file I get no entities. Now, if I delete the first paragraph from the text
I have 1 entity "taIdentRef" : "dbpedia:EMC_E2"
and the following categories
The funny part is that "EMC_E2" spotted entity does not show up in the content and all categories are related to "locomotives". This is the link from where I get the content. http://www.ft.com/intl/cms/s/0/7786936c-73fc-11e5-bdb1-e6e4767162cc.html#axzz3p07brijW Hope this helps somehow. |
Can you please move the discussion about getting no entities to a new GitHub issue? We should not mix up different topics in the same discussion. This issue is about a request that produces the answer "BadRequest". |
The problem does not occur anymore. Above API request works as expected. |
This cURL
with this test.txt produces "Internal Server Exception". The problem is that the submitted input is empty because of
&input=&outformat=...
.This should produce a "Bad Request" and proper error message.
The text was updated successfully, but these errors were encountered: