Unsupported content type

Getting response as “Unsupported content type” while making a request using client.request in my frontend code.
Below attached screenshot of request.json and invoke template
invoke template :

Request.json :

Additionally, I receive the error mentioned below when I pass an object without JSON in the body.

Error : Error in establishing connection

Hi @Vrushali_Ambre,

The body property should be a JSON value. That is expected.

For the unsupported content response, what content type is expected in the response? Please check the supported content types for the response in the following post.

@Vrushali_Ambre For the error, the content-type header is verified in the response. Can you please share what is the exact Content-Type header value in the response?

(post deleted by author)

Hi @Raviraj

The content type received is ‘application/octet-stream’. It also works fine in Automation with the same API.