No data type for node [MethodNode]

If you share your query, I can try to help you further, but I don’t know what you mean by should only have 2 arguments