Hi, sorry for the inconvenience. I was creating an installable module and testing it in an environment. Initial version was not converting string to int, and after explicitly doing that, it works. (the installed version was not being updated as i forgot to use --force-reinstall and that’s why i thought it was not working). The error is still a bit misleading as it doesn’t specify the type type of passed value, but it works now.