APAR status
Closed as program error.
Error description
After the migration of all the preprod env, from v5 to v10, we have started to test all requests. There is a group of APIs, all belonging to the same product, which are not performing the request in v10, while the swagger was working ok in v5. We have this answer: <?xml version="1.0" encoding="UTF-8"?> <errorResponse> <httpCode>500</httpCode> <httpMessage>Internal Server Error</httpMessage> <moreInformation>Policy rule webapi-v5e-policy-invoke-gscript failed with exception: Internal Error. See logs for details.</moreInformation> </errorResponse>
Local fix
Client to avoid using newline in the API properties, like following. ===original==== mock-routing-table-deploy: value: |- { "AC":{"ES":"mock-pp2","IT":"mock-pp2","BE":"mock-deploy","PT":" mock-pp2","NL":"mock-deploy"}, "AP":{"IT":"mock-pp2","PT":"mock-deploy"}, "OV":{"BE":"mock-pp2","NL":"mock-deploy"} } ===suggested modification==== mock-routing-table-deploy: value: |- {"AC":{"ES":"mock-pp2","IT":"mock-pp2","BE":"mock-deploy","P T":"mock-pp2","NL":"mock-deploy"},"AP":{"IT":"mock-pp2","PT":"m ock-deploy"},"OV":{"BE":"mock-pp2","NL":"mock-deploy"}}
Problem summary
Gateway policy rule webapi-v5e-policy-invoke-gwscript failed with exception due to API properties with newline.
Problem conclusion
Fix is available in 2018.4.1.23, 10.0.1.10 and 10.5.0.2 For a list of the latest fix packs available, please see: https://www.ibm.com/support/pages/node/83105
Temporary fix
Comments
APAR Information
APAR number
IT41657
Reported component name
DATAPOWER
Reported component ID
DP1234567
Reported release
A0X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-08-01
Closed date
2022-09-22
Last modified date
2022-10-26
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
DATAPOWER
Fixed component ID
DP1234567
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
26 October 2022