You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article provides suggestions to troubleshoot common problems with the Snowflake connector in Azure Data Factory and Azure Synapse.
19
19
20
-
## Error message: IP % is not allowed to access Snowflake. Contact your local security administrator.
20
+
## Error code: NotAllowToAccessSnowflake
21
21
22
22
-**Symptoms**: The copy activity fails with the following error:
23
23
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. `
25
25
26
26
-**Cause**: It's a connectivity issue and usually caused by firewall IP issues when integration runtimes access your Snowflake.
27
27
@@ -31,19 +31,21 @@ This article provides suggestions to troubleshoot common problems with the Snowf
31
31
- 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.
32
32
- 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).
33
33
34
-
## Error message: Failed to access remote file: access denied.
34
+
## Error code: SnowflakeFailToAccess
35
35
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>
39
41
40
42
-**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.
41
43
42
44
-**Recommendation**: Check your source/sink to make sure that you have granted proper access permission to Snowflake.
43
45
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
+
47
49
## Next steps
48
50
49
51
For more troubleshooting help, try these resources:
0 commit comments