Closed querry43 closed 1 year ago
We, oddly enough, ran into this issue yesterday as well. We were trying to add a new page to an existing dashboard that is decently sized and received the exact same error when trying to update. However, if we delete and recreate the dashboard with the new page it works.
This is the response received from the API when it fails.
{
"data": {
"dashboardUpdate": null
},
"errors": [
{
"extensions": {
"errorClass": "SERVER_ERROR"
},
"locations": [
{
"column": 5,
"line": 4
}
],
"message": "An error occurred resolving this field",
"path": [
"dashboardUpdate"
]
}
]
}
I was able sanitize the dashboard with which I've been working to help duplicate this issue.
https://gist.github.com/usfdmiller/3cf82452b79713bd66439aa75fd1ae06
Now, if I apply this configuration "as is" there aren't be any errors. The dashboard and all pages are created. If I remove the page titled "Infra Performance", create the dashboard, then try to add that page back to the configuration after the "ClickStreams" page, I receive the above error during the update.
However, and this is a weird one, if I add the "Infra Performance" page back to the configuration before the "ClickStreams" page, there is no error during the update.
Thanks for details @usfdmiller I'll try to figure out what's going wrong.
I also just ran into the same issue. Thanks for posting
I was able to reproduced it, and then it worked again 5 minutes later. I'm talking to the API team to see if we can figure this out.
Can you all do a double check if you're not hitting the limits documented here: https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-dashboards/#limits
I am not anywhere near those limits.
Small update: It's a weird bug, so more teams need to get involved. We're able to reproduce it consistently thanks to your message @tcgbrett Thanks a lot for putting in the time to help us reproduce, it's really appreciated.
New release v3.15.0 is out. 🥳
Can everyone check if this resolves the issue?
I'm going to close the issue as it should be resolved. Let me know if it's not the case.
I was able to confirm the issue with version 3.13 and the fix with version 3.15. Thanks!
Just an FYI @querry43, I missed this update for weeks because I was waiting to see it in the release notes. I'm glad I accidentally stumbled back onto this issue. - It's not present here
I can understand why that's confusing, the fix was one_dashboard: fix for updating with filter_current_dashboard
.
Terraform Version
Affected Resource(s)
newrelic_one_dashboard
Terraform Configuration
Actual Behavior
It is possible to create the dashboard by commenting out 2/3 of the pages and applying, then repeating for larger and larger segments of the dashboard.
Expected Behavior
The dashboard should be created or modified successfully
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply