REST API throwing error code "E_INPUT_MESSAGE_NOT_READABLE"
I'm trying to make POST API call to create a folder using custom REST code. On execution I'm getting the 400 status code and following error message.
{"status":400,"code":"E_INPUT_MESSAGE_NOT_READABLE","message":"The input message is not readable.","details":"Error in unmarshalling the JSON representation into annotated object of class com.emc.documentum.rest.model.FolderObject at [Source: (PushbackInputStream); line: 1, column: 279];The field propertiesMap is undefined","id":"d0606cf3-09f0-4a8f-ae39-a141ecda54c0"}
org.springframework.web.client.HttpClientErrorException: 400 null
Kindly help.
Answers
-
I guess that means that your request's body is malformed.
I would advice you to test the correct syntax with Postman (great tool to play around with the REST services so that you find out the proper syntax
Also, next time, I'd recommend you give us a bit more info about your issue, like how do you POST you folder creation with what parameters. Is it in Java, C#,….?
And also post some example of code that generate the request's body, maybe that would help us help you more efficiently
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax