SymptomsWhen I send RESTful API requests to my Instance Manager node I receive the error:
500 Internal Server Error
The similar error is observed in PACI-im.log:
Caused by: com.sun.jersey.api.MessageException: A message body writer for Java class com.parallels.c2u.xml.PendingCallbacks, and Java type class com.parallels.c2u.xml.PendingCallbacks, and MIME media type text/plain was not found
ResolutionMake your RESTful API client sending these headers:
For curl it can be done as follows:
~# curl -uadmin:'PaSsWorD' -H "Content: application/xml" -H "Accept: application/xml" .....