API response error 415
Question

Can some one help me with this error massage. I'm trying to pair with mollie and i get this error massage.


Hi Khalid,

The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format.  

You need to add contentType in your API header. Please add header content-Type and its value as application/json

Please see the below screen -



Thanks

Vinod

Thankyou! and do u know this error? 


As JSON format is expected in all POST and PATCH requests, you will get this error response when your JSON body is malformed. Please check your Json.  For example, these are malformed JSON.

A comma is missing.

{
        "code": "myproduct"
        "family": "myfamily"
    }

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.