APAR status
Closed as program error.
Error description
Validate policy does not accept content type text/json as json. When using content type text/json, following error might return: { "httpCode": "400", "httpMessage": "Invalid", "moreInformation": "Validate REST: Unable to validate content as there is either no payload or the media type: [] is unknown" }
Local fix
Problem summary
When a customer tries to validate a payload that has a Content-Type of text/json, a validation error "<span style="background-color:rgb(255, 255, 255)">Validate REST: Unable to validate content as there is either no payload or the media type: [] is unknown" </span>will be returned.
Problem conclusion
<p>A fix will be delivered in the API Connect 5.0.8.13, 2018.4.1.18, and 10.0.1.5 releases.</p>
Temporary fix
Comments
APAR Information
APAR number
LI82276
Reported component name
API CONNECT ENT
Reported component ID
5725Z2201
Reported release
508
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-08-09
Closed date
2022-01-07
Last modified date
2022-01-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
API CONNECT ENT
Fixed component ID
5725Z2201
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"508"}]
Document Information
Modified date:
08 January 2022