diff --git a/src/groundlight/internalapi.py b/src/groundlight/internalapi.py index 48e87cf6..40a7dffe 100644 --- a/src/groundlight/internalapi.py +++ b/src/groundlight/internalapi.py @@ -176,7 +176,7 @@ def call_api(self, *args, **kwargs): # Note we don't look for header_param in kwargs here, because this method is only called in one place # in the generated code, so we can afford to make this brittle. header_param = args[4] # that's the number in the list - if not header_param: + if header_param is None: # This will never happen in normal usage. logger.warning("Can't set request-id because headers not set") elif not header_param.get(self.REQUEST_ID_HEADER, None):