{"record":{"id":"483e556624f26d8a","repo":"pathwaycom/pathway","slug":"persistent-id-and-name-should-not-be-used-toge","errorCode":null,"errorMessage":"'persistent_id' and 'name' should not be used together. Please use 'name' only.","messagePattern":"'persistent_id' and 'name' should not be used together\\. Please use 'name' only\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"python/pathway/io/_utils.py","lineNumber":704,"sourceCode":"            raise ValueError(\n                \"start_from_timestamp_ms must be a non-negative number of\"\n                f\" milliseconds since the UNIX epoch; got {start_from_timestamp_ms}\"\n            )\n        return start_from_timestamp_ms\n    if start_from_timestamp_ms is not None:\n        raise ValueError(\n            f\"start_from_timestamp_ms must not be set when start_from='{start_from}'\"\n        )\n    return -1 if start_from == \"end\" else None\n\n\ndef _get_unique_name(\n    name: str | None, kwargs: dict[str, Any], stacklevel: int = 6\n) -> str:\n    deprecated_name = kwargs.get(\"persistent_id\")\n    if name is not None:\n        if deprecated_name is not None:\n            raise ValueError(\n                \"'persistent_id' and 'name' should not be used together. Please use 'name' only.\"\n            )\n        return name\n    if deprecated_name is not None:\n        warnings.warn(\n            \"'persistent_id' is deprecated. Please use 'name' instead.\",\n            DeprecationWarning,\n            stacklevel=stacklevel,\n        )\n    return deprecated_name\n\n\ndef _prepare_s3_connection_settings(\n    s3_connection_settings: (\n        AwsS3Settings | MinIOSettings | WasabiS3Settings | DigitalOceanS3Settings | None\n    ),\n) -> AwsS3Settings | None:\n    if isinstance(s3_connection_settings, AwsS3Settings):","sourceCodeStart":686,"sourceCodeEnd":722,"githubUrl":"https://github.com/pathwaycom/pathway/blob/fa2f74a4649b7c5908690cf60137263d8d80de5f/python/pathway/io/_utils.py#L686-L722","documentation":"Error \"'persistent_id' and 'name' should not be used together. Please use 'name' only.\" thrown in pathwaycom/pathway.","triggerScenarios":"Thrown at python/pathway/io/_utils.py:704 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use only the 'name' parameter and drop 'persistent_id'."],"exampleFix":"pw.io.fs.read(path, name='my_source')","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"}