Symptoms

A sales order for McAfee provisioning fails with the following error, which can also be traced in /var/log/pa/core.log on the MN and in /var/log/httpd/error_log on the endpoint:

[statusErrorCode] > 400
[aPIErrorCode] > 9
[errorMessage] > String 'exampleexampleexampleexampleexampleexample' exceeds maximum length of 30.
[moreInfo] >
[fieldName] > customerContactData[1].lastName
[fieldValue] > MaximumLength
[requestID] > 2f40c026-dd20-4490-a161-10656515e229

Cause


The error message is self explanatory and points to the fact that the limit of a field on McAfee side has been reached. It also states which field caused the violation. In this case, it is Last Name.


Resolution

Find the field causing issue in Billing settings of the account and make its value shorter than 30 characters.