06-05-2014 08:46 AM
curl -X POST -uadmin:admin http://localhost:8080/alfresco/service/api/people -H"content-type: application/json" -d@creaDOCADM.json
06-05-2014 12:06 PM
{
"status" :
{
"code" : 500,
"name" : "Internal Error",
"description" : "An error inside the HTTP server which prevented it from ful
filling the request."
},
"message" : "05050018 Failed to convert request to JSON",
"exception" : "org.springframework.extensions.webscripts.WebScriptException -
05050018 Failed to convert request to JSON",
"callstack" :
[
"" ,"org.json.JSONException: Expected a ',' or '}' at character 6
6"
,"org.json.JSONTokener.syntaxError(JSONTokener.java:413)"
,"org.json.JSONObject.<init>(JSONObject.java:223)"
,"org.json.JSONObject.<init>(JSONObject.java:420)"
,"org.springframework.extensions.webscripts.json.JSONReader.read(JSONReade
r.java:77)"
,"org.springframework.extensions.webscripts.json.JSONReader.createScriptPa
rameters(JSONReader.java:93)"
,"org.springframework.extensions.webscripts.AbstractWebScript.createScript
Parameters(AbstractWebScript.java:725)"
,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(D
eclarativeWebScript.java:81)"
,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryCo
ntainer.java:433)"
,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
RetryingTransactionHelper.java:454)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(R
epositoryContainer.java:495)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs
(RepositoryContainer.java:553)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(Reposito
ryContainer.java:343)"
,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
AbstractRuntime.java:378)"
,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
AbstractRuntime.java:209)"
,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.servi
ce(WebScriptServlet.java:132)"
,"javax.servlet.http.HttpServlet.service(HttpServlet.java:728)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:305)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:210)"
,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLoc
alizationFilter.java:61)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:243)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:210)"
,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:222)"
,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:123)"
,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:502)"
,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:171)"
,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:99)"
,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953
)"
,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:118)"
,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:4
08)"
,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11P
rocessor.java:1023)"
,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abs
tractProtocol.java:589)"
,"org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.j
ava:310)"
,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
a:1145)"
,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:615)"
,"java.lang.Thread.run(Thread.java:724)"
,"org.springframework.extensions.webscripts.WebScriptException: 05050018 F
ailed to convert request to JSON"
,"org.springframework.extensions.webscripts.json.JSONReader.read(JSONReade
r.java:82)"
],
"server" : "Community v4.3.0 (r70508) schema 7,003",
"time" : "2014-6-5 23:53:51"
}
06-09-2014 05:50 AM
06-09-2014 09:22 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.