Risk Category Information API for Supplier Risk Exposure Custom Field Data Error Messages

Use this information to troubleshoot your queries to the Risk Category Information API for Supplier Risk Exposure when adding custom field data.

Error Code

Message

Description

400

Realm name should not be empty

The query URL doesn’t specify your realm. Construct a new query URL including the realm name and retry your request.

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

You cannot submit more than 100 records at a time

The JSON body of your request specifies too many suppliers. The maximum number of suppliers whose custom fields you can update in a single request is 100. Split your request into multiple requests of 100 or fewer suppliers.

400

smVendorId should not be empty

One or more of the fieldName/value blocks in your JSON request body doesn’t specify a value for the smVendorId. Ensure that all smVendorId fields have a valid SM Vendor ID, then resubmit your request.

400

Could not find supplier with smVendorId XXX in realm YYY

The specified realm doesn’t contain a supplier with the specified SM Vendor ID. Check to make sure the specified realm name and smVendorID are correct, then resubmit your request.

400

CustomFields should not be empty for smVendorID XXX in realm YYY

The JSON body of your request doesn’t specify any custom fields to be updated for the specified supplier. Add at least one fieldName/value pair to the CustomFields block for the specified vendor, then resubmit your request.

400

Too many custom fields specified for smVendorID XXX in realm YYY

The JSON body of your request specifies too many custom fields for the specified supplier. The maximum number of custom fields you can update for each supplier is 300. Delete extra fieldName/value pairs from the CustomFields block for the specified supplier, then resubmit your request.

400

Duplicate fields name for smVendorID XXX in realm YYY: LIST_OF_DUPLICATE NAMES

Your JSON request body specifies a duplicate fieldName for the specified supplier. A fieldName can't be a duplicate of another fieldName for custom, licensed, or standard fields.

400

No field name for smVendorID XXX in realm YYY: FIELD_VALUE

Your JSON request body is missing a fieldName for the specified supplier and fieldValue. The fieldName can't be empty. Add a fieldName for the fieldValue.

400

No field value for smVendorID XXX in realm YYY: FIELD_NAME

Your JSON request body is missing a fieldValue for the specified supplier and fieldName. The fieldValue can't be empty. Add a fieldValue for the fieldName.

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

Error inserting custom fields data

Resubmit your request later.

504

Gateway Time-out

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