"expression not allowed in userFilter" gooddata api

I'm receiving this response when I try to create a user filter in the GoodData API, does anybody knows what is this error and how to solve it?

{
   "error" : {
      "parameters" : [
         "[/gdc/md/PROJECT_ID/obj/OBJECT_ID]=[/gdc/md/PROJECT_ID/obj/OBJECT_ID/elements?id=ELEMENT_ID] OR [/gdc/md/PROJECT_ID/obj/OBJECT_ID]=[/gdc/md/PROJECT_ID/obj/OBJECT_ID/elements?id=ELEMENT_ID]"
      ],
      "requestId" : "REQUEST_ID",
      "component" : "Resource::Obj::Service",
      "errorClass" : "GDC::Exception::User",
      "message" : "Expression not allowed in userFilter '%s'."
   }
}

Upvotes: 1

Views: 77

Answers (1)

Well I was picking the wrong id, I was using de url value instead the "formOf" value found in the /gdc/md/PROJECT_ID/obj/OBJECT_ID

Upvotes: 1

Related Questions