REST API throwing error code "E_INPUT_MESSAGE_NOT_READABLE"

Options
Ram_Kishan_Maitry
edited October 5, 2023 in Documentum #1

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.

Tagged:

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