Closed andish closed 8 years ago
Result is:
{ "exception": "eu.freme.common.exception.FREMEHttpException", "path": "/pipelining/templates", "message": "could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement", "error": "Internal Server Error", "status": 500, "timestamp": 1462436826169 }
In development env submitted successfully. For public environment just created new user and retrieved new token.
Request:
POST /current/pipelining/templates HTTP/1.1 Host: api.freme-project.eu Content-Type: application/json X-Auth-Token: xxx-yyy-zzz { "label": "Enrich html with entities", "description": "Enrich html with entities", "serializedRequests": [ { "method": "POST", "endpoint": "http://api.freme-project.eu/current/e-entity/freme-ner/documents", "parameters": { "language": "en", "dataset" :"dbpedia" }, "headers": { "content-type": "text/plain", "accept": "text/turtle" } }, { "method": "POST", "endpoint": "http://api.freme-project.eu/current/e-link/documents/", "parameters": { "templateid": "2" }, "headers": { "content-type": "text/turtle", "accept": "text/turtle" } } ] }
@ArneBinder please check what is wrong here.
This should be fixed. The id column of the table pipeline wasn't marked with Auto Increment. @andish please close this, if it works for you, too.
id
pipeline
Auto Increment
Result is:
In development env submitted successfully. For public environment just created new user and retrieved new token.
Request: