Getting "Invalid argument exception. Nos doc type specified"' while trying to upload file using Rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2015 06:33 AM
For upload file using Rest API (Nuxeo Platform 7.3 ), I follow this link "https://doc.nuxeo.com/display/NXDOC/How+to+Upload+a+File+in+Nuxeo+Platform+Using+REST+API+Batch+Processing+Endpoint" .
But I am getting "500 Internal Server Error" -- "Invalid argument exception. Nos doc type specified" as Response.
How to resolve this issue .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2015 09:28 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 02:35 AM
Hi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 06:59 AM
This looks good. As you get a 500 error code, could you post the stack trace and btw what are you using as a client ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 07:27 AM
I am using Google Chrome -- Advanced Rest Client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2015 09:08 AM
Hi,
Please set content type correctly to application/json. for more clarification look at the file attached.
