雪花云数据平台雪管 REST API 抛出 HTTP 错误 500



(代表雪花用户提交...(


我正在使用 Snowpipe REST 端点从为 GCS(Google Cloud Storage(创建的外部阶段加载文件。当我尝试调用 Snowpipe 来加载文件时。通过邮递员调用时,我收到以下错误响应。

<title>Error 500 Internal Server Error</title>
</head>
<body>
<h2>HTTP ERROR 500</h2>
<p>Problem accessing /v1/data/pipes/<pipe>/insertFiles. Reason:
<pre> Internal Server Error</pre>

我也在使用java客户端来做同样的事情,它也因同样的原因而失败

[main] WARN net.snowflake.ingest.connection.ServiceResponseHandler - Exceptional Status Code found in unmarshallInsert Response - 500
[main] ERROR net.snowflake.ingest.connection.ServiceResponseHandler - Status code 500 found in response from service
HTTP Status: 500
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 Internal Server Error</title>
</head>

我正在自己创建表/模式并调用 REST API。发现同样的事情适用于与我做同样事情的其他用户。这完全是奇怪的。你能帮忙吗?


有什么建议吗? 谢谢!

我会根据一些研究推荐以下内容:

  1. 查看查询的复制历史记录报告,以获取有关如何共享(如果可以(的详细信息。
  2. 确保用户/角色对你调用的内容具有权限。
  3. 管道的状态如何?

Snowpipe 故障排除参考会有所帮助,但用户角色很可能没有运行查询的权限。

最新更新