There are limits to the number of companies you can have on UAT. Exceeding the limit will result in a HTTP 402 error.
There is some information about the UAT limits in the Codat documentation here.
Resolution
- Delete some of the companies in UAT. This can be done through the Portal by following the steps here, or through the API using the endpoint documented in Swagger here.
- If you would like to delete all of the companies in UAT, then please use the 'Submit Request' link in the header to contact our support team.
Examples
{ "statusCode": 402, "service": "PublicApi", "error": "Company limit exceeded", "correlationId": "5796ed2f-3fdc-4ef4-acd9-4b7562455efb", "validation": { "errors": [ { "itemId": "Company", "message": "Company limit exceeded. Learn more at https://docs.codat.io/docs/environments-1", "validatorName": "CreateCompany" } ], "warnings": [] }, "canBeRetried": "Unknown", "detailedErrorCode": 0 }