Check that action's in/output is serializable, error the action when not