Virtual appliance response "content type 'text/plain' not supported"
search cancel

Virtual appliance response "content type 'text/plain' not supported"

book

Article ID: 248178

calendar_today

Updated On:

Products

Data Loss Prevention API Detection for Developer Apps Virtual Appliance Data Loss Prevention API Detection Virtual Appliance Data Loss Prevention

Issue/Introduction

You receive a response from the DLP Virtual appliance of:

{
    "messageId""generic",
    "message""Content type 'text/plain' not supported"
}
 

Cause

You must have a header that specifies the content type as application/json

 

Resolution

Ensure you add an HTTP header that includes Key:Content-Type Value:application/json