Tim Cashion
06/23/2025, 5:14 PMInvariant Violation: Item attribute.business_date.day was not found in cache.
Our yaml file has this for the filter:
filter_by:
business_date.day_filter:
type: attribute_filter
using: attribute/business_date.day
Mauricio Cabezas
06/23/2025, 6:07 PMTim Cashion
06/23/2025, 6:10 PMMauricio Cabezas
06/23/2025, 7:58 PMMoises Morales
06/24/2025, 9:10 AM/api/v1/entities/workspaces/2e95d3d504314691b27f4c021fa48cf3/visualizationObjects/e0f27225-d519-439a-9749-948aa72d3ca3
Find all instances were attribute/business_date.day
is used and replaced them for business_date.day
. Use the modified layout as a body for the PUT request to the same endpoint and set the correct content-type as exemplified in the Apiary: https://www.gooddata.com/docs/cloud/api-and-sdk/api/api_reference_all/#operation/updateEntity@WorkspacesTim Cashion
06/24/2025, 3:18 PMbusiness_date.day_filter
was introduced during the fix to the thread you linked to. It was cloned from GoodData when it was working and now appears to be broken.Tim Cashion
06/24/2025, 3:33 PMfilter_by:
business_date_year:
type: date_filter
using: business_date
Our original filter looks like this:
filter_by:
business_date.day_filter:
type: attribute_filter
using: attribute/business_date.day
If I update the filter in my yaml file to this filter and redeploy, I get the following error:Tim Cashion
06/24/2025, 3:33 PMMauricio Cabezas
06/24/2025, 7:05 PMTim Cashion
06/24/2025, 7:08 PMMoises Morales
06/25/2025, 10:01 AMbusiness_date_day
).
2. Cloned the workspace locally using GD CLI v0.12.
3. In the insight YAML, the filter appears like this:
filter_by:
business_date_day:
type: date_filter
granularity: DAY
from: -6
to: 0
using: business_date
4. Without making any changes, I deployed the workspace back to the server.
5. After deployment, the filter still shows correctly in the visualizationObjects endpoint (i.e., not broken):
"filters": [
{
"relativeDateFilter": {
"dataSet": {
"identifier": {
"id": "business_date",
"type": "dataset"
}
},
"granularity": "GDC.time.date",
"from": -6,
"to": 0
}
}
]
I understand you tried fixing the filter directly in your YAML file, could you please try updating it directly in the platform instead by editing the object there? Unfortunately, this kind of fix can’t be introduced just from the local workspace side.
Regarding the issue itself: since it started happening after your upgrade to
v0.12, could you please try to reproduce it again? For example, if you recreate the insight in the platform (or fix the current broken insight) and then re-run the clone-and-deploy steps, does the issue come back?
If not, it’s possible this was just a one-time glitch. Please also keep in mind that the tool is still in beta, so some inconsistencies like this can happen. But if you’re able to reproduce it again reliably, I’ll be happy to escalate the issue to our team as before.Tim Cashion
06/25/2025, 7:13 PMMoises Morales
06/26/2025, 7:36 AM