pathwaycom/pathway · error · ValueError
Unknown execution type: {execution_type}. Only 'local' and '
Error message
Unknown execution type: {execution_type}. Only 'local' and 'remote' are supported. What it means
Error "Unknown execution type: {execution_type}. Only 'local' and 'remote' are supported." thrown in pathwaycom/pathway.
Source
Thrown at python/pathway/io/airbyte/__init__.py:398
elif execution_type == "remote":
job_id = gcp_job_name or f"airbyte-serverless-{str(uuid.uuid4())}"
if service_user_credentials_file is None:
raise ValueError(
"'service_user_credentials_file' is required for the 'remote' execution."
)
credentials = ServiceCredentials.from_service_account_file(
service_user_credentials_file
)
source = RemoteAirbyteSource(
config=config,
streams=streams,
job_id=job_id,
credentials=credentials,
region=gcp_region,
env_vars=copy.copy(env_vars),
)
else:
raise ValueError(
f"Unknown execution type: {execution_type}. Only 'local' and 'remote' are supported."
)
subject = _PathwayAirbyteSubject(
source=source,
streams=streams,
mode=mode,
refresh_interval=refresh_interval_seconds,
)
return python_connector_read(
subject=subject,
schema=_AirbyteRecordSchema,
autocommit_duration_ms=max(round(refresh_interval_seconds * 1000), 1),
name="airbyte",
unique_name=_get_unique_name(name, kwargs),
max_backlog_size=max_backlog_size,
)View on GitHub (pinned to fa2f74a464)
Solutions
- Use execution_type='local' or execution_type='remote'.
Example fix
pw.io.airbyte.read(..., execution_type='local')
When it happens
Trigger: Thrown at python/pathway/io/airbyte/__init__.py:398 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of pathwaycom/pathway@fa2f74a464 (2026-08-15).
Data as JSON: /api/errors/b444024ba27fbdef.
Report an issue: GitHub.