Hi all,

i have some sample twitter data file of 600kb of json type.when iam 
loading this json file in to marklogic through java api its  showing 
error  msg:
Exception in thread "main" com.marklogic.client.FailedRequestException: 
Local message: write failed: Bad Request. Server Message: XDMP-JSONCHAR: 
xdmp:from-json("{"delete":{"status":{"id":33296634...")
 
-- Unexpected character: { on line 2
     at 
com.marklogic.client.impl.JerseyServices.putDocumentImpl(JerseyServices.java:839)
     at 
com.marklogic.client.impl.JerseyServices.putDocument(JerseyServices.java:740)
     at 
com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:336)
     at 
com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:271)
     at 
com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:231)
     at MlWrite.run(MlWrite.java:47)
     at MlWrite.main(MlWrite.java:18)

Please kindly can any one help.


Thanks
Ashok kumar
hadoop developer.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to