Search results
PDF

How to resolve misused header name error

This section explains how to resolve the misused header name error when creating Rest API data source in Bold Reports.

Misused header name error

When the error occurs

This error occurs when the user explicitly pass Content-Type or Content-Length reserved headers in the Header(s) list.

Reserved headers

Why the error occurs

In Bold Reports REST API data source connector, we have handled the Content-Type and Content-Length request headers based on the Data Format field value. So, while passing the same values explicitly in Headers list causes the Misused header name error.

How to overcome the error

  1. Remove the Content-Type and Content-Length reserved headers from the Header(s) list.

  2. Choose the content type in Data Format field.

    Data Format