415 Unsupported Media Type
search cancel

415 Unsupported Media Type

book

Article ID: 369692

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Gateway policy is sending a request to a backend host for processing and is resulting in the following error being returned:

415 Unsupported Media Type

Environment

All supported versions of the CA API Gateway

Cause

The backend host was expecting the request content-type to be of type json but it was coming over as text.

Resolution

We modified the content type on the client side to be json and the backend then processed things and the gateway policy executed successfully.