Data Studio Connector-获得更多有用的调试信息

时间:2019-03-24 00:57:45

标签: google-data-studio

我正在建立一个Google Data Studio连接器,但是不清楚错误出在哪里。

是否有可能从Data Studio连接器中获取有关该问题不起作用的特定错误消息。

不只是通用。.

```
There was an error caused by the community connector. Please report the issue to the provider of this community connector if this issue persists.

Connector details
There was an error caused by this connector.

Error ID: b8104ea6
```

2 个答案:

答案 0 :(得分:1)

添加此代码对我的情况有所帮助:

function isAdminUser() {
  return true;
}

在这里找到解决方案:

答案 1 :(得分:0)

error handling and messages guide提供了有关如何向用户显示连接器错误的详细信息。除其他事项外,您还应确保isAdminUser()为开发人员(您自己)返回true