grants_only_for_member
Only a member with the `member` role can hold per tax ID permissions (grants). The owner (`owner`) and the administrators (`admin`) reach every tax ID of the account, so a grant on them would mean nothing.
| Code | Type | HTTP | Category |
|---|---|---|---|
grants_only_for_member | invalid_request_error | 422 | Account |
Cause
Only a member with the member role can hold per tax ID permissions (grants). The owner (owner) and the administrators (admin) reach every tax ID of the account, so a grant on them would mean nothing.
What to do
Drop grants from the body when the role is owner or admin, or change the member's role to member first if you want to limit their access to specific tax IDs.
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.