{"record":{"id":"3cec0a9e9fb1887d","repo":"pathwaycom/pathway","slug":"data-format-format-not-supported","errorCode":null,"errorMessage":"data format `{format}` not supported","messagePattern":"data format `(.+?)` not supported","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"python/pathway/io/_utils.py","lineNumber":147,"sourceCode":"        raise ValueError(f\"'{param_name}' must be {constraint}, got {value!r}\")\n    return seconds\n\n\nclass RawDataSchema(pw.Schema):\n    data: bytes\n\n\nclass PlaintextDataSchema(pw.Schema):\n    data: str\n\n\nclass MetadataSchema(Schema):\n    _metadata: dict\n\n\ndef get_data_format_type(format: str, supported_formats: set[str]):\n    if format not in _DATA_FORMAT_MAPPING or format not in supported_formats:\n        raise ValueError(f\"data format `{format}` not supported\")\n    return _DATA_FORMAT_MAPPING[format]\n\n\ndef check_deprecated_kwargs(\n    kwargs: dict[str, Any], deprecated_kwarg_names: list[str], stacklevel: int = 2\n):\n    for kwarg_name in deprecated_kwarg_names:\n        if kwarg_name in kwargs:\n            warnings.warn(\n                f\"'{kwarg_name}' is deprecated and will be ignored\",\n                DeprecationWarning,\n                stacklevel=stacklevel + 1,\n            )\n            kwargs.pop(kwarg_name)\n    deprecated_kwargs_with_custom_report = [\"persistent_id\"]\n    unexpected_args_list = []\n    for kwarg in kwargs.keys():\n        if kwarg not in deprecated_kwargs_with_custom_report:","sourceCodeStart":129,"sourceCodeEnd":165,"githubUrl":"https://github.com/pathwaycom/pathway/blob/fa2f74a4649b7c5908690cf60137263d8d80de5f/python/pathway/io/_utils.py#L129-L165","documentation":"Error \"data format `{format}` not supported\" thrown in pathwaycom/pathway.","triggerScenarios":"Thrown at python/pathway/io/_utils.py:147 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported data formats for this connector (e.g. 'json', 'csv', 'plaintext', 'raw', 'binary')."],"exampleFix":"pw.io.fs.read(path, format='json', schema=MySchema)","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa2f74a4649b7c5908690cf60137263d8d80de5f","analyzedAt":"2026-08-15T01:48:17.006Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}