michelin / snowflake-grafana-datasource

Snowflake Grafana datasource plugin enables the visual representation of Snowflake data within Grafana dashboards and manages alerts.
Apache License 2.0
67 stars 33 forks source link

TypeError: t.map is not a function #30

Closed bra-fsn closed 8 months ago

bra-fsn commented 1 year ago

With plugin version 1.3.0 running on Grafana v9.2.2 once I've created some Snowflake dashboards I started to get similar errors:

An unexpected error happened
Details
TypeError: t.map is not a function

    at Io (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:363:1276)
    at div
    at div
    at https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:2941:48
    at div
    at https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:426:1562
    at div
    at div
    at n (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:99:6538)
    at div
    at n (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:99:8487)
    at div
    at n (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:99:6538)
    at div
    at n (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:99:8487)
    at Zt (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:99:14074)
    at div
    at div
    at div
    at b (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:5742:1111)
    at Si (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:443:1519)
    at g (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:999564)
    at WithTheme(Connect(Si))
    at Na (https://ds-dashboards.example.com/public/build/DashboardPage.addf7c66abb17ffa5168.js:566:7310)
    at DashboardPage
    at g (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:999564)
    at Suspense
    at c (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:1194:301)
    at fc (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:8749:362)
    at t (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:1014882)
    at t (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:1016903)
    at main
    at Ql (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:8710:13067)
    at t (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:1011500)
    at div
    at o (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:2035:4306)
    at t.KBarProvider (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:261503)
    at l (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:6088:19180)
    at c (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:1194:301)
    at u (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:1194:855)
    at y (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:2892432)
    at tc (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:8746:21930)
    at l (https://ds-dashboards.example.com/public/build/4713.9debbfba7033186a58bf.js:2:997609)
    at qc (https://ds-dashboards.example.com/public/build/3593.50eee21d2f7b3f7d0151.js:8762:115)

I've already tried to delete the dashboard and recreate, but I still get these. Before creating/using the plugin I can't observe similar behaviour, so I suspect the problem can be related to that?