facility_id does not exist.  That was the error.
Instead, it is an optional argument.  If it exists, it would be a key in the dictionary kwargs.