Skip to content

Bug in widget_type for dashboards #597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
volodymyr-ya-MA opened this issue Mar 4, 2025 · 2 comments
Open

Bug in widget_type for dashboards #597

volodymyr-ya-MA opened this issue Mar 4, 2025 · 2 comments

Comments

@volodymyr-ya-MA
Copy link

volodymyr-ya-MA commented Mar 4, 2025

Hi, im on latest provider 0.14.3
Before, for dashboards used widget_type = "discover", but ~week ago it became deprecated:

Error: PUT https://sentry.io/api/0/organizations/melsoft/dashboards/125419/: 400 map[widgets:[map[widgetType:[Attribute value `discover` is deprecated. Please use `error-events` or `transaction-like`]]

I've tried to use error-events, as API returned that value, but its not working:

 Error: expected widget.29.widget_type to be one of ["discover" "issue" "metrics"], got error-events
│
│   with module.sentry_dashboards.sentry_dashboard.main["[FI-SRE] Error_related TF 2"],
│   on ../../../../modules/sentry-dashboard/main.tf line 1, in resource "sentry_dashboard" "main":
│    1: resource "sentry_dashboard" "main" {
@yanglinz
Copy link

yanglinz commented Mar 7, 2025

This is the same issue as #571.

@ThameezBodhanyaCortea
Copy link

This is the same issue as #571.

And yet the version with the fix has yet to be released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants