IBM Support

API Connect v5 Gateway- Troubleshooting unable to retrieve policy information error

Troubleshooting


Problem

In API Connect version 5 and the v5 compatible DataPower Gateway in later editions, users might observe their API calls for a specific API are returning a 500 response code.

Symptom

In the DataPower logs you might see entries like:



Mon May 17 2021 18:15:00 [0x80e0013a][mpgw][info] source-https(webapi-https): tid(536425)[XX.XXX.XXX.XXX]: Received HTTP/1.1 POST for /api/acme/v1/product-collections from XX.XXX.XXX.XXX
...
Mon May 17 2021 18:15:00 [0x80e003aa][xmlparse][error] mpgw(webapi): tid(536425)[request][XX.XXX.XXX.XXX] gtid(ded5a08e5f15b4f400067d62): illegal character 0x1f at offset 263298 of http://127.XXX.XXX.XXX:2444/swagger/v1/catalogs/67d8fd5gf5c1272066ee668e/apis/6g217dg75c15f29224g67egMon May 17 2021 18:15:00 [0x80e00041][network][error] mpgw(webapi): tid(536425)[request][XX.XXX.XXX.XXX] gtid(ded5a08e5f15b4f400067d62): url-open: Error parsing response from 'http://127.XXX.XXX.XXX:2444/swagger/v1/catalogs/67d8fd5gf5c1272066ee668e/apis/6g217dg75c15f29224g67eg'
Mon May 17 2021 18:15:00 [0x80000001][xsltmsg][error] mpgw(webapi): tid(536425)[request][XX.XXX.XXX.XXX] gtid(ded5a08e5f15b4f400067d62): HTTP/1.1 500 Internal Server Error: Unable to retrieve policy information
Mon May 17 2021 18:15:00 [0x80c00010][xslt][error] mpgw(webapi): tid(536425)[request][XX.XXX.XXX.XXX] gtid(ded5a08e5f15b4f400067d62): Processing of 'local:///isp/unified-request-select-and-set-policies.xsl' stopped: local://isp/error_template.xsl:85: xsl:message terminate=yes value='HTTP/1.1 500 Internal Server Error: Unable to retrieve policy information'

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m0z000000cxxVAAQ","label":"API Connect-\u003EDeveloper (DV)-\u003EEncoding"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
04 February 2025

UID

ibm16458179