Reputation: 6882
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
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
Reputation: 18707
Adding this code helped in my case:
function isAdminUser() {
return true;
}
Found the solution here:
Upvotes: 7
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