Support Topics Documentation Slack YouTube Blog

Setting a relation

(Tpg Third) #1

Good Day

I am trying to build a codeless method that should find the user with the parameter object id and then also find a certain team with the team name parameter. When it is found it should add a relation in the users table to the team. This is my codeless code and when invoked I get the error : 400 - Invalid value for the “parent” argument. The argument is required and must contain only string or object values.

(Vladimir Upirov) #2


please make sure that your “user” variable contains user object, looks like it doesn’t, that’s why you are getting the error.
And also property “children” of “Set Relations” block must be an array, not an object


(Tpg Third) #3

Thank you , it works now.