diff --git a/api/core/workflow/nodes/http_request/http_executor.py b/api/core/workflow/nodes/http_request/http_executor.py index 902d821e408b9a..3736c67fb74109 100644 --- a/api/core/workflow/nodes/http_request/http_executor.py +++ b/api/core/workflow/nodes/http_request/http_executor.py @@ -212,7 +212,7 @@ def _assembling_headers(self) -> dict[str, Any]: raise ValueError('self.authorization config is required') if authorization.config is None: raise ValueError('authorization config is required') - if authorization.config.header is None: + if authorization.config.type != 'bearer' and authorization.config.header is None: raise ValueError('authorization config header is required') if self.authorization.config.api_key is None: