Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
```
like image 296
UKDataGeek Avatar asked Oct 21 '25 06:10

UKDataGeek


2 Answers

Adding this code helped in my case:

function isAdminUser() {
  return true;
}

Found the solution here:

  • Building a custom Google Data Studio connector from A-Z. Part 1 — Basic setup.
like image 151
Max Makhrov Avatar answered Oct 24 '25 06:10

Max Makhrov


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).

like image 23
Minhaz Kazi Avatar answered Oct 24 '25 06:10

Minhaz Kazi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!