CRRRS6402E Content is not allowed making PUT request in RDNG
Hello guys!
Accepted answer
I was not talking about the HEADER. I was talking about the MESSAGE content in the PUT.
Comments
Yes, sure, I'm understanding that. I have taken body from result in GET request and copy/pasted it to content to be sent. As well as ETag copied to If-Match.
SURE
2 other answers
The error message seems to indicate that whatever you sent as a payload in the post was not in a valid application/rdf+xml format. Also check the log and search for the entry using the code.
Comments
It's strange because I was taking the content from GET result as is. It means that GET result was not in valid application/rdf+xml format, wasn't it?
Log doesn't have enough info:
Your GET request is asking for content type of "application/xml" and not "application/rdf+xml".
Comments
I was trying already all variants: "application/xml", "application/rdf+xml" in Accept and Content-Type headers but the result is the same.
Yes, thank you!