{"record":{"id":"d805f4823e2ff363","repo":"ytdl-org/youtube-dl","slug":"we-re-sorry-but-either-the-user-id-or-password-en","errorCode":null,"errorMessage":"We're sorry, but either the User ID or Password entered is not correct.","messagePattern":"We're sorry, but either the User ID or Password entered is not correct\\.","errorType":"exception","errorClass":"ExtractorError","httpStatus":null,"severity":"error","filePath":"youtube_dl/extractor/adobepass.py","lineNumber":1483,"sourceCode":"                    # you will not actually pass your credentials.\n                    provider_redirect_page, urlh = provider_redirect_page_res\n                    if 'Please wait ...' in provider_redirect_page:\n                        saml_redirect_url = self._html_search_regex(\n                            r'self\\.parent\\.location=([\"\\'])(?P<url>.+?)\\1',\n                            provider_redirect_page,\n                            'SAML Redirect URL', group='url')\n                        saml_login_page = self._download_webpage(\n                            saml_redirect_url, video_id,\n                            'Downloading SAML Login Page')\n                    else:\n                        saml_login_page_res = post_form(\n                            provider_redirect_page_res, 'Logging in', {\n                                mso_info['username_field']: username,\n                                mso_info['password_field']: password,\n                            })\n                        saml_login_page, urlh = saml_login_page_res\n                        if 'Please try again.' in saml_login_page:\n                            raise ExtractorError(\n                                'We\\'re sorry, but either the User ID or Password entered is not correct.')\n                    saml_login_url = self._search_regex(\n                        r'xmlHttp\\.open\\(\"POST\"\\s*,\\s*([\"\\'])(?P<url>.+?)\\1',\n                        saml_login_page, 'SAML Login URL', group='url')\n                    saml_response_json = self._download_json(\n                        saml_login_url, video_id, 'Downloading SAML Response',\n                        headers={'Content-Type': 'text/xml'})\n                    self._download_webpage(\n                        saml_response_json['targetValue'], video_id,\n                        'Confirming Login', data=urlencode_postdata({\n                            'SAMLResponse': saml_response_json['SAMLResponse'],\n                            'RelayState': saml_response_json['RelayState']\n                        }), headers={\n                            'Content-Type': 'application/x-www-form-urlencoded'\n                        })\n                else:\n                    # Some providers (e.g. DIRECTV NOW) have another meta refresh\n                    # based redirect that should be followed.","sourceCodeStart":1465,"sourceCodeEnd":1501,"githubUrl":"https://github.com/ytdl-org/youtube-dl/blob/956b8c585591b401a543e409accb163eeaaa1193/youtube_dl/extractor/adobepass.py#L1465-L1501","documentation":"Raised inside the Adobe Pass login flow after the MVPD provider login form is posted and the returned SAML login page contains 'Please try again.'. This means the provider rejected the submitted User ID or Password, so the extractor aborts with a credentials error. It is not marked expected, so it also signals a hard failure of the authentication chain.","triggerScenarios":"Posting form_data with mso_info['username_field']/['password_field'] to the provider redirect page and the response HTML containing 'Please try again.'; mistyped --ap-username/--ap-password; expired or changed provider password; wrong MSO selected so valid credentials are sent to the wrong provider.","commonSituations":"Typos or shell-quoting issues in password arguments; password managers autofilling wrong values; credentials valid for the provider's app but not its SSO web login; account locked by repeated failures.","solutions":["Re-enter --ap-username and --ap-password exactly, quoting them in the shell to avoid interpolation","Confirm the --ap-mso value matches the provider that actually owns the account (cross-provider logins always fail)","Log in to the provider's website manually with the same credentials to verify they work and the account is not locked","If using --netrc, check the machine/login/password lines for stray whitespace or truncation"],"exampleFix":"# before\nyoutube-dl --ap-mso Rogers --ap-username user --ap-password p@ss 'URL'\n\n# after\nyoutube-dl --ap-mso Rogers --ap-username 'user@rogers.com' --ap-password 'c0rrect-P@ss!' 'URL'","handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    info = ydl.extract_info(url)\nexcept ExtractorError as e:\n    if 'User ID or Password entered is not correct' in str(e):\n        alert_user('Adobe Pass MVPD credentials rejected by provider — verify and re-enter')\n    raise","preventionTips":["Test MVPD credentials by logging into the provider's website before wiring them into automation","Never let credentials pass through unquoted shell strings; use a netrc file or a config file instead","Confirm the --ap-mso matches the provider that issued the credentials"],"tags":["authentication","adobe-pass","mvpd","credentials","login"],"backgroundTag":null,"analyzedSha":"956b8c585591b401a543e409accb163eeaaa1193","analyzedAt":"2026-08-14T18:59:47.863Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}