Skip to content

Commit ca3ad08

Browse files
authored
Merge pull request #218354 from jess-hu-340/1114-update-error-code
[Supportablity] Add error code to snowflake
2 parents b842445 + eb8b662 commit ca3ad08

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

articles/data-factory/connector-troubleshoot-snowflake.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: jianleishen
66
ms.service: data-factory
77
ms.subservice: data-movement
88
ms.topic: troubleshooting
9-
ms.date: 06/21/2022
9+
ms.date: 11/14/2022
1010
ms.author: jianleishen
1111
ms.custom: has-adal-ref, synapse
1212
---
@@ -17,11 +17,11 @@ ms.custom: has-adal-ref, synapse
1717

1818
This article provides suggestions to troubleshoot common problems with the Snowflake connector in Azure Data Factory and Azure Synapse.
1919

20-
## Error message: IP % is not allowed to access Snowflake. Contact your local security administrator.
20+
## Error code: NotAllowToAccessSnowflake
2121

2222
- **Symptoms**: The copy activity fails with the following error:
2323

24-
`Job failed due to reason: net.snowflake.client.jdbc.SnowflakeSQLException: IP % is not allowed to access Snowflake. Contact your local security administrator. `
24+
`IP % is not allowed to access Snowflake. Contact your local security administrator. `
2525

2626
- **Cause**: It's a connectivity issue and usually caused by firewall IP issues when integration runtimes access your Snowflake.
2727

@@ -31,19 +31,21 @@ This article provides suggestions to troubleshoot common problems with the Snowf
3131
- If you use an Azure Integration Runtime and the access is restricted to IPs approved in the firewall rules, you can add [Azure Integration Runtime IPs](azure-integration-runtime-ip-addresses.md) to the allowed list in Snowflake.
3232
- If you use a managed private endpoint and a network policy is in place on your Snowflake account, ensure Managed VNet CIDR is allowed. For more steps, refer to [How To: Set up a managed private endpoint from Azure Data Factory or Synapse to Snowflake](https://community.snowflake.com/s/article/How-to-set-up-a-managed-private-endpoint-from-Azure-Data-Factory-or-Synapse-to-Snowflake).
3333

34-
## Error message: Failed to access remote file: access denied.
34+
## Error code: SnowflakeFailToAccess
3535

36-
- **Symptoms**: The copy activity fails with the following error:
37-
38-
`ERROR [42501] Failed to access remote file: access denied. Please check your credentials,Source =SnowflakeODBC_sb64.dll..`
36+
- **Symptoms**:<br>
37+
The copy activity fails with the following error when using Snowflake as source:<br>
38+
`Failed to access remote file: access denied. Please check your credentials`<br>
39+
The copy activity fails with the following error when using Snowflake as sink:<br>
40+
`Failure using stage area. Cause: [This request is not authorized to perform this operation. (Status Code: 403; Error Code: AuthorizationFailure)`<br>
3941

4042
- **Cause**: The error pops up by the Snowflake COPY command and is caused by missing access permission on source/sink when execute Snowflake COPY commands.
4143

4244
- **Recommendation**: Check your source/sink to make sure that you have granted proper access permission to Snowflake.
4345

44-
- Direct copy: Make sure to grant access permission to Snowflake in the other source/sink.
45-
- Staged copy: The staging Azure Blob storage linked service must use shared access signature authentication. When you generate the shared access signature, make sure to set the allowed permissions and IP addresses to Snowflake in the staging Azure Blob storage. To learn more about this, see this [article](https://docs.snowflake.com/en/user-guide/data-load-azure-config.html#option-2-generating-a-sas-token).
46-
46+
- Direct copy: Make sure to grant access permission to Snowflake in the other source/sink. Currently, only Azure Blob Storage that uses shared access signature authentication is supported as source or sink. When you generate the shared access signature, make sure to set the allowed permissions and IP addresses to Snowflake in the Azure Blob Storage. For more information, see this [article](https://docs.snowflake.com/en/user-guide/data-load-azure-config.html#option-2-generating-a-sas-token).
47+
- Staged copy: The staging Azure Blob Storage linked service must use shared access signature authentication. When you generate the shared access signature, make sure to set the allowed permissions and IP addresses to Snowflake in the staging Azure Blob Storage. For more information, see this [article](https://docs.snowflake.com/en/user-guide/data-load-azure-config.html#option-2-generating-a-sas-token).
48+
4749
## Next steps
4850

4951
For more troubleshooting help, try these resources:

0 commit comments

Comments
 (0)