Troubleshooting

Use this procedure to resolve the Cross-Origin Resource Sharing (CORS) error when fetching data from monitored tenants.

  1. Click the Endpoints tab.
  2. In the row of the tenant with error, click the arrow button under the Details column.
  3. Click the Endpoint Policies tab.
  4. In the Request Policies section, click the + icon.
  5. Specify this information:
    Policy type
    Select Header.
    Name
    Specify header-example.
    Policy Definition
    Specify this code and replace {MonitoredTenant} with the name of the tenant that you want to monitor:
    <header xmlns="http://www.infor.com/ion/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="header-tst" displayName="header-example" enabled="true"  version="1.0">
    <action>set</action>
    <headerName>Origin</headerName>
    <headerValue>https://mingle-ionapi.eu1.inforcloudsuite.com/{MonitoredTenant}/M3/m3api-rest/v2/execute/CMS975MI</headerValue>
    </header>
    
  6. Click Save.
  7. Cache reload the page to apply changes.