Risk Exposure API Error Messages

Use this information to troubleshoot your queries to the Risk Exposure API.

Error Code

Message

Description

400

The apiKey passed in the request is not valid.

The API key passed in the query headers doesn't match the API key in the OAuth token.

400

The apiKey is missing in the header.

The API key passed in the query headers is missing. Add a valid API key in the header request.

400

The apiKey provided in the header does not match with the apiKey in the token.

The API key passed in the query header doesn't match the API key in the token. Change the API key in the query header to match the API key in the token.

400

Invalid or missing request parameters: sm_vendor_id or realm

Your request has an incorrect or missing SM vendor ID or realm. Check to make sure the specified realm name and smVendorID are correct, then resubmit your request.

400

Realm YYY in the request does not match with realms in the token.

The specified realm in your request doesn’t match the list of realms from the token. Change the realm in your request to one of the available realms in the token.

400

Realm YYY in the request does not match with realms in your system.

The specified realm in the request isn’t available in your SAP Ariba Supplier Risk system.

400

Check the realm in the request. The realm value should not be null or empty.

The specified realm in your request can’t be empty. Add the realm in your request.

401

Unauthorized

Unauthorized request. Either the access token is expired or incorrect, or the realm is invalid or missing.

429

Rate limit error

You've exceeded the maximum permitted query rate. Refer to the developer portal discovery page for this API for the applicable query rates.

500

Internal server error

Error retrieving exposure data. The exposure data couldn't be retrieved for the supplier. This could be due to connection issues or the server is down. Try again after a while.

504

Gateway Time-out

The server timeout time has been exceeded, possibly due to network traffic or reliability issues. Retry your query.