{"record":{"id":"0e4e7d281495091a","repo":"ytdl-org/youtube-dl","slug":"unexpected-api-data-result","errorCode":null,"errorMessage":"Unexpected API data result","messagePattern":"Unexpected API data result","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/orf.py","lineNumber":55,"sourceCode":"        'ooe': ('ooe', 'oe2o', 'orfooe'),\n        'steiermark': ('stm', 'oe2st', 'orfstm'),\n        'kaernten': ('ktn', 'oe2k', 'orfktn'),\n        'salzburg': ('sbg', 'oe2s', 'orfsbg'),\n        'tirol': ('tir', 'oe2t', 'orftir'),\n        'vorarlberg': ('vbg', 'oe2v', 'orfvbg'),\n        'oe3': ('oe3', 'oe3', 'orfoe3'),\n        'oe1': ('oe1', 'oe1', 'orfoe1'),\n    }\n    _ID_NAMES = ('id', 'guid', 'program')\n\n    @classmethod\n    def _get_item_id(cls, data):\n        return traverse_obj(data, *cls._ID_NAMES, expected_type=txt_or_none)\n\n    @classmethod\n    def _get_api_payload(cls, data, expected_id, in_payload=False):\n        if expected_id not in traverse_obj(data, ('payload',)[:1 if in_payload else 0] + (cls._ID_NAMES, T(txt_or_none))):\n            raise ExtractorError('Unexpected API data result', video_id=expected_id)\n        return data['payload']\n\n    @staticmethod\n    def _extract_podcast_upload(data):\n        return traverse_obj(data, {\n            'url': ('enclosures', 0, 'url'),\n            'ext': ('enclosures', 0, 'type', T(mimetype2ext)),\n            'filesize': ('enclosures', 0, 'length', T(int_or_none)),\n            'title': ('title', T(txt_or_none)),\n            'description': ('description', T(clean_html)),\n            'timestamp': (('published', 'postDate'), T(parse_iso8601)),\n            'duration': ('duration', T(k_float_or_none)),\n            'series': ('podcast', 'title'),\n            'uploader': ((('podcast', 'author'), 'station'), T(txt_or_none)),\n            'uploader_id': ('podcast', 'channel', T(txt_or_none)),\n        }, get_all=False)\n\n    @classmethod","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/orf.py#L37-L73","documentation":"Error \"Unexpected API data result\" thrown in ytdl-org/youtube-dl.","triggerScenarios":"Thrown at youtube_dl/extractor/orf.py:55 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Update youtube-dl; the ORF API response format changed."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"956b8c585591b401a543e409accb163eeaaa1193","analyzedAt":"2026-08-14T18:59:47.863Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}