I would like to create about 30 user data filters,...
# gooddata-cloud
g
I would like to create about 30 user data filters, one for each usergroup in the workspace but receive a 400 error on the first one. The JSON looks correct to me. Any assistance would be appreciated.
k
New message text here
m
Hi Greg, complementing the information provided. We identified in our logs:
Copy code
"msg": "Bad Request: Some of given referenced 'labels' entities do not exist.Not existing IDs: StockId(apiId=<http://v_sites.site|v_sites.site>, scope=WorkspaceObjectScope(organization=<your_orgId>, space=<your_workspace>))"
Please, double check the IDs.
g
Hi Mauricio, I have checked the ids many times and I don't see an issue. Can I DM you my code?
m
Yes, feel free to share the code by DM 🙂
Hi Greg, thank you for sharing more information by DM. I am glad is working now, and for future reference, keep in mind always use the exact ID of the label/attribute, including the capital one as it is case sensitive.
g
Thank you! that the first Automatic response was correct. 👍