Having an issue with setting the wdf_filter. For s...
# gooddata-cloud
d
Having an issue with setting the wdf_filter. For some reason it says it does not exist. Can't think what i'm doing wrong. the URL was copy and pasted - same with the bearer id and the tenant workspace exists
j
Hi Doug, it looks like you might be missing the column name in your body. Could you please review the parameters here: https://www.gooddata.com/docs/cloud/workspaces/workspace-data-filters/#set-up-workspace-data-filters Please note the section on ColumnName Usage
d
@Joseph Heun I'm doing the child one. There isn't a column name This is the URL: https://reporting.laivly.cloud/api/v1/entities/workspaces/tenant-ulta-clone/workspaceDataFilterSettings
j
Hi Doug, I've checked out the workspace and parent workspace and can see that this is the only WDF present. Could you please confirm if this is the filter you are trying to apply to the child workspace, or if you are trying to create a new one?
d
yes, i'm trying to use this filter on the child space
j
I think the id may have been set as: "tenant_tenant-clone-for-testing"
d
yes, i saw that, not sure how that fits into the problem
the child filter doesn't even refer to that id { "data": { "id": "tenant-ulta-clone", "type": "workspaceDataFilterSetting", "attributes": { "filterValues": [ "ulta" ], "title": "ulta clone" }, "relationships": { "workspaceDataFilter": { "data": { "id": "wdf__tenant_id", "type": "workspaceDataFilter" } } } } }
Also the error says endpoint doesn't exist or i don't have access, it hasn't even got to read the body.
j
I'm testing the endpoint and it works, and I can see that your user as the necessary access. I'm not seeing authentication errors in the logs based on the traceID. All of this seems fine. Could you maybe try to reset your postman, and re-authenticate to see if that helps. If not, we can try making the call from the admin user as well and see if it works with that user.
d
I am an admin user This is the trace id i'm getting "traceId": "1d7f3dd7e1e0e991ee3125ef783b31af"
I tried in python etc... it's giving me the same error
maybe I need to create a new bearer id?
j
aaah, ok. I don't see the workspace with the name tenant ulta clone
should it be for "*ulta clone"*
I think you just need to change the workspace ID in your endpoint
d
"ulta clone" is the name not the id. I can't put "ulta clone" in the url - there is a space
this is the child space
j
Ok, so I really believe the error is misleading here. I'm checking the id of the WDF again, and it is showing as "tenant_tenant-clone-for-testing" but in your body you have sent above, it is showing as "id": "wdf__tenant_id", Could you please try making the call with the id as "tenant_tenant-clone-for-testing"
d
yes that did it
🙌 1