Hello, One of our engineers has reached out to th...
# gooddata-cloud
m
Hello, One of our engineers has reached out to the Goodata team a couple times via the form at https://www.gooddata.com/contact/. But I hasn't gotten a response yet. They requested that the Time Granularity Switch, https://www.gooddata.com/docs/cloud/create-dashboards/plugins/#time-granularity-switch, be added to our workspace. We were not able to find the plugin in the github repository of available plugins. We also had another issue with the Gauge Chart Plugin, https://www.gooddata.com/docs/cloud/create-dashboards/plugins/#gauge-chart, which is part of the Github repository. They followed instructions on building it and linking to our Workspace and dashboard. But it seems there's a mismatch between the Github dashboard engine version, v11.24.0, used to build the plugin and the Online gooddata dashboard running dashboard engine version 11.25.0-alpha.4. They are getting quite a few console errors and white screens. Do I need to have them reach out to support here instead of the support ticket form?
k
Hello! Let me address both issues separately. Time Granularity Switch Plugin The Time Granularity Switch plugin is not currently available in the public GitHub repository. Based on community discussions, plugins listed in the GoodData docs but missing from GitHub are typically absent because they need to be updated before sharing, or require custom work to implement properly. [Community Slack] For this plugin, the recommended path is to connect with your Account Owner or Professional Services team, who can assist with implementation. [Community Slack] Gauge Chart Plugin – Version Mismatch The engine version mismatch you're describing (plugin built with v11.24.0 vs. the live engine running v11.25.0-alpha.4) is a known type of issue. GoodData uses CI/CD and constantly produces alpha versions for integration, so the live environment may be ahead of the latest official SDK release. [Community Slack] To resolve the compatibility issue, your engineer should: 1. Upgrade the plugin following the plugin upgrade guide. 2. Check
peerDependencies
in
package.json
— they should use a caret range (e.g.,
^11.0.0
) rather than a pinned version, so the plugin is compatible with newer engine versions. [Community Slack] 3. Update the plugin entry files (
src/dp_gauge_chart_plugin_entry/index
) — specifically the
minEngineVersion
and
maxEngineVersion
properties, or set the
compatibility
field appropriately. [Community Slack] Regarding Support If the contact form hasn't gotten a response and the issues are urgent, I'd recommend submitting a formal support ticket at support.gooddata.com. For high-impact issues, make sure to include: • Organization ID • Clear description of the impact • When the issue started • Error messages, trace IDs, and screenshots • Any recent changes before the issue occurred This ensures the Support team can expedite troubleshooting. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups. 👀 Our Support team monitors all messages and will jump in if needed.
s
Hi Mark, Regarding the Time Granularity Switch plugin, we have contacted your Account Owner, who is currently working on a solution. We will follow up with you as soon as we have an update. For the Gauge Chart plugin, please try implementing the changes recommended by our AI. If the issue persists, please reply to this thread with the error messages, trace IDs, screenshots, and steps to reproduce the problem so we can investigate further.
👍 2
gratitude thank you 1
m
Hi. I've followed the instructions from the AI bot above. When loading the workbook / dashboard, I'm getting a white page and this in the console:. Any suggestions on how to fix? thanks!
Copy code
Dashboard loader initialized in adaptive mode to load 0a03ba10-5aef-49d0-8d5c-8c6b84f94e1d.
2013.e194cf329014c23c824c.js:2 Dynamic Script Loaded: <https://lqvision-gooddata-static.s3.us-east-1.amazonaws.com/plugins/staging/gauge_chart_plugin/v1.0.3/dp_gauge_chart_plugin.mjs>
3492.41d6c1962d772615d1a5.js:2 DashboardEngine 11.25.0-alpha.7 initializing with plugins: gauge_chart_plugin/1.0.3, Local Event Bridge/1.0
3492.41d6c1962d772615d1a5.js:2 gauge_chart_plugin/1.0.3: Starting registration. []
3492.41d6c1962d772615d1a5.js:2 gauge_chart_plugin/1.0.3: Registration finished. []
3492.41d6c1962d772615d1a5.js:2 Local Event Bridge/1.0: Starting registration. []
3492.41d6c1962d772615d1a5.js:2 Local Event Bridge/1.0: Registration finished. []
2013.e194cf329014c23c824c.js:2 Loaded dashboard engine 11.25.0-alpha.7
2013.e194cf329014c23c824c.js:2 Dashboard engine 11.25.0-alpha.7 initialized with plugins gauge_chart_plugin/1.0.3, Local Event Bridge/1.0
152.f2f351a08de7134983fa.js:2 unhandled rejection Invariant Violation: Provided data must be IDashboardLayout.
    at new n (816.3364c4f2ac5b0c6b1a29.js:2:12610)
    at c (816.3364c4f2ac5b0c6b1a29.js:2:12827)
    at h.for (2854.9f857a0f459cc3f95ca1.js:2:5901)
    at pm (152.f2f351a08de7134983fa.js:2:217153)
    at hm (152.f2f351a08de7134983fa.js:2:217411)
    at gm (152.f2f351a08de7134983fa.js:2:218112)
....
(anonymous) @ 3576.f7ab764d5c757842d515.js:2
L @ 3576.f7ab764d5c757842d515.js:2Understand this error
dashboards/#/workspace/109369fb7b1f4bbf89bef680b660ab95/dashboard/0a03ba10-5aef-49d0-8d5c-8c6b84f94e1d:1 Access to resource at '<https://collector.iad1.prodgdc.com/v1/logs>' from origin '<https://vision.lqdigital.com>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.Understand this error
1867.ea0bf3af313e8561c5d3.js:2  POST <https://collector.iad1.prodgdc.com/v1/logs> net::ERR_FAILED
s
Hi Mark, The error message you're seeing suggests that there's a Cross-Origin Resource Sharing (CORS) issue. This is likely because the domain where your plugin is hosted ('https://lqvision-gooddata-static.s3.us-east-1.amazonaws.com') is not included in the list of allowed origins for your GoodData organization. To resolve this, you need to add this domain to the list of allowed origins in your GoodData organization settings. You can do this through the user interface in the Developer settings section: 1. On the homepage, go to Developer settings. 2. In the Cross-origin resource sharing (CORS) section, click Manage. 3. Click Add 4. and type the URL of your domain. 5. Click Add and click Close. You can find more detailed instructions in the GoodData documentation. Also, try to define a CSP Directive according to Enable CSP for an Organization. If you've already done this and are still experiencing issues, it's possible that the issue lies with the S3 bucket settings. You need to set the CORS header there. Here's an example of how to do this:
Copy code
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [],
        "MaxAgeSeconds": 3000
    }
]
Please try these steps and let us know if you need further assistance.
Hi Mark, We’re just wondering if you've had a chance to review the latest update from us regarding your support request? We've provided an update some time ago but we haven't heard back from you. If you need any further help, just let us know.
m
@Shamil Akhmadyshev Sorry for the delay. I was able to build the plugins and link w/o errors (we also received the Time granularity Chart from the team). We will be testing this week. I'll let you know if we run into any issues. Cheers!
s
Thank you for the update, Mark. If you will need any further assistance, just let us know.