Using the Aria Operations Swagger UI to generate a Chargeback Bill returning with 400 Error:
Error Message:
{"message": "Invalid input format.","moreInformation": [{"name": "api-uri","value": "/suite-api/api/chargeback/bills"}],"httpStatusCode": 400,"apiErrorCode": 400}
In addition, the following Error is observed upon resolving the format error above.
{ "message": "request validation failed. Reason is \"Only OrgVCD resourceIDs should be provided when policyId is specified\".". apiErrorCode": 1517 }
Aria Operations Suite 8.x
Incorrect modification to the payload template. [] bracket was removed from the "resourceIds
" section of the template.
Sample payload below with missing [] on the "resourceIds
" line:
On the second issue, the "ORG resourceId"
was provided on the template, instead of the "OrgVCD resourceId
".
OrgVCD resourceId"
from Aria Operations UI, then update this resourceId on the payload template. The request will returns a 201 response Body.