UKDataGeek
UKDataGeek

Reputation: 6882

Data Studio Connector - getting more helpful messages for debugging

I am building out a google data studio connector, however its not clear where the error is.

Is it possible to get specific error messages from the data studio connector about what the issue is thats not working.

Instead of just a generic..

```
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
```

Upvotes: 4

Views: 3782

Answers (3)

Gampesh
Gampesh

Reputation: 4374

Below statement is from google https://developers.google.com/datastudio/connector/error-handling

Implement isAdminUser() to identify admins so the right level of detail is shown to connector users.

This should solve the problem.

As Max Makhrov answered above. Add function isAdminUser() { return true; }

Upvotes: 0

Max Makhrov
Max Makhrov

Reputation: 18707

Adding this code helped in my case:

function isAdminUser() {
  return true;
}

Found the solution here:

Upvotes: 7

Minhaz Kazi
Minhaz Kazi

Reputation: 3168

The error handling and messages guide provides details on how to show errors to users for your connector. Among several other things, you should ensure isAdminUser() returns true for the developer(yourself).

Upvotes: 4

Related Questions