relation_company_not_in_grantor
The list of tax IDs of the access is not valid: either it names a tax ID that does not belong to the account granting the access, or it is empty. The error points at the `company_ids` field and does not tell which tax ID fails.
| Code | Type | HTTP | Category |
|---|---|---|---|
relation_company_not_in_grantor | invalid_request_error | 422 | Account |
Cause
The list of tax IDs of the access is not valid: either it names a tax ID that does not belong to the account granting the access, or it is empty. The error points at the company_ids field and does not tell which tax ID fails.
What to do
Send in company_ids at least one tax ID and only tax IDs of your own account, or grant every tax ID of the account instead of a list.
Related
All Account error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.