TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON does not support content-type "application/vnd.whispir.message-v1+json".
book
Article ID: KB0093028
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON
-
Not Applicable
-
Description
Description: When trying to connect to an external service provider using the Invoke REST API activity, it will fail if it has a vendor specific content-type. e.g., "application/vnd.whispir.message-v1+json". Symptoms: Invoke REST API -> Input tab -> Header: Content-Type=application/vnd.whispir.message-v1+json
Error in output:
<StatusCode>415</StatusCode>
<ReasonPhrase>Unsupported Media Type</ReasonPhrase>
Cause:
Invoke REST API activity supports mostly custom Content-Types, but there are some rules. If the custom Content-Type contains "xml","json","plain" or "html", regardless if its upper or low case, it will be replaced with "application/xml", "application/json","text/plain" or "text/html". Other Content-Types will not be replaced.
Environment
Product: TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON
Version: 2.0.0
OS: All Supported Operating Systems
--------------------
Resolution
None.
Issue/Introduction
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON does not support content-type "application/vnd.whispir.message-v1+json".