Common cross-account errors
The following table lists common cross-account problems.
| Symptom | Cause | Resolution |
|---|---|---|
|
AWS Glue Data Catalog rejects the resource policy with |
The discovery actions ( |
Move the discovery actions into their own statement, with only the root catalog ARN as the resource. |
|
AWS Glue Data Catalog rejects the resource policy with |
A role named in the policy was created recently. |
Wait, and then apply the policy again. |
|
The AWS Glue Data Catalog resource policy exceeds the size limit |
The policy exceeds the 10 KB limit. |
Reduce the policy size, for example, by listing the roles of several Agent Context accounts as principals in one set of statements. |
|
A connection to Amazon Redshift, Aurora PostgreSQL, or RDS for Oracle is |
The ingestion role’s |
Add |
|
Real-time retrieval fails for Amazon Redshift, Aurora PostgreSQL, or RDS for Oracle |
The identity that reads the source can’t read or decrypt the AWS Glue connection’s secret. |
Add the secret resource policy and the key policy statement in the source account. Confirm that the secret is encrypted with a customer managed key. |
|
Real-time retrieval against Amazon S3 Tables fails with |
The identity that reads the source has no AWS Lake Formation grants on the table bucket’s namespace and tables. |
In the source account, grant the identity that reads the source DESCRIBE on the namespace, and DESCRIBE and SELECT on its tables (see Additional grants for Amazon S3 Tables). |
|
Connection creation fails for a knowledge base |
The knowledge base policy in the source account doesn’t allow |
In the source account, add the |
|
A knowledge base connection is |
The knowledge base policy or the ingestion role’s policy doesn’t allow |
Check both sides of the grant: the |