The base class for all flags errors.
CARVIEW |
Select Language
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://www.tensorflow.org/oauth2authorize?return_url=https%3A%2F%2Fwww.tensorflow.org%2Fversions%2Fr2.0%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError&prompt=none&auto_signin=True&scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles.award
x-robots-tag: noindex
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn Redirect"; Expires=Sun, 20 Jul 2025 11:58:30 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin=autosignin; Expires=Sun, 20 Jul 2025 11:58:30 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: "; Expires=Sun, 20 Jul 2025 11:58:30 GMT; Max-Age=300; Secure; Path=/
set-cookie: session=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-FpQmitSwIdwiUeDPvGr+r6JkBCrlMG' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: 7aa5e231ff12895e4fc74d10e22a8f7e
date: Sun, 20 Jul 2025 11:53:30 GMT
server: Google Frontend
content-length: 329
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://accounts.google.com/o/oauth2/v2/auth?client_id=157101835696-ooapojlodmuabs2do2vuhhnf90bccmoi.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fwww.tensorflow.org%2Foauth2callback&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgoogledevelopers+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdeveloperprofiles.award+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&access_type=online&response_type=code&state=%7B%22csrf_token%22%3A+%22c43a7ef808b33278105877b7cdcbedcadf3c8f9a972dfd5f330096d85f74ad51%22%2C+%22return_url%22%3A+%22https%3A%2F%2Fwww.tensorflow.org%2Fversions%2Fr2.0%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError%22%7D&prompt=none&auto_signin=True
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: Start_Oauth(): Start Oauth Prompt - none: "; Expires=Sun, 20 Jul 2025 11:58:31 GMT; Max-Age=300; Secure; Path=/
set-cookie: session=.eJylVF2PokgU_SsbX3cfoJDW6mQeRBuEBsyg8lEvHahSoSyQtALCZP773tKxpzOZh50sCUlBqs4995xT99vord69l2m1qy6j58t7s_tndDidDmL3dkqbS47e6Pl9_3Y5HXfV6HlEx1o62e2nyjTTNDSZqoo-nUyyCWU02zGasr1Gp3uc4glie6bvNU1R8BOb6vvJOGW6OvoVfS9O3dv_Rn3-NvorA3qH2Tosvn6d3Z-5ZyKcszg4eaV_TqOwYeZUiYdZk6BrTSJdEXa32SimyqxDH6Kw2KKwZ2XYB-W1Zfp6I-alIZZo-2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ires=Wed, 20 Aug 2025 11:53:31 GMT; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-MnjcsDrExCvGCuiLmPnP39D4tfCyV7' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: f0afd16d846505434fc74d10e22a8ca9
date: Sun, 20 Jul 2025 11:53:31 GMT
server: Google Frontend
content-length: 568
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=UTF-8
set-cookie: __Host-GAPS=1:68_3MXg2gvBoEkeN7_62HqGR9Wp7IA:ywID-NWZ4q7Bdxlc;Path=/;Expires=Tue, 20-Jul-2027 11:53:31 GMT;Secure;HttpOnly;Priority=HIGH
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Mon, 01 Jan 1990 00:00:00 GMT
date: Sun, 20 Jul 2025 11:53:31 GMT
location: https://www.tensorflow.org/oauth2callback?state=%7B%22csrf_token%22%3A+%22c43a7ef808b33278105877b7cdcbedcadf3c8f9a972dfd5f330096d85f74ad51%22%2C+%22return_url%22%3A+%22https%3A%2F%2Fwww.tensorflow.org%2Fversions%2Fr2.0%2Fapi_docs%2Fpython%2Ftf%2Fcompat%2Fv1%2Fflags%2FError%22%7D&error_subtype=access_denied&error=interaction_required
origin-trial: Ajo6ZZxoPufZZ6x0UgjawhB/adBJ+tLG7aX1MO8kWVCTHdOVSlY4OjhBhzivzulNh6ikNKRnwxwK18EvUu6aOgcAAABteyJvcmlnaW4iOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IldlYlZpZXdYUmVxdWVzdGVkV2l0aERlcHJlY2F0aW9uIiwiZXhwaXJ5IjoxNzU4MDY3MTk5fQ==
strict-transport-security: max-age=31536000; includeSubDomains
cross-origin-opener-policy-report-only: same-origin; report-to="coop_gse_qebhlk"
content-security-policy: require-trusted-types-for 'script';report-uri /cspreport
content-security-policy: script-src 'report-sample' 'nonce-5gMN8LoPsflQajtp-SRfiA' 'unsafe-inline' 'unsafe-eval';object-src 'none';base-uri 'self';report-uri /cspreport
report-to: {"group":"coop_gse_qebhlk","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/gse_qebhlk"}]}
content-encoding: gzip
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
content-length: 401
server: GSE
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/compat/v1/flags/Error
set-cookie: signin_details="Check Login State: Current Auto Sign in Status :Skip AutoSignin False: Skip Signin False: Auto signin the user - Oauth Sign in: Called Signin(): SignIn RedirectSetting SignInCookie - AutoSignin: Start_Oauth(): Start Oauth Prompt - none: Called Oauth2Callback(): Oauth2Callback callback view: Oauth2Callback No User creds: Oauth2Callback error:no_credentials:bad_request:Authorization failed: interaction_required: Oauth2Callback AS_state autosignin: "; Expires=Sun, 20 Jul 2025 11:58:31 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin_details=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/
set-cookie: session=eyJfcGVybWFuZW50Ijp0cnVlfQ.aHzYuw.C0Ksz178aw9AHJmNYToRLjKIdH0; Expires=Wed, 20 Aug 2025 11:53:31 GMT; Secure; HttpOnly; Path=/; SameSite=None
vary: Cookie
vary: Accept-Encoding
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-f6TF3vgGRnioes2pUg8X9fRYxk2WeR' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: 37ca619052c752024fc74d10e22a80da
date: Sun, 20 Jul 2025 11:53:31 GMT
server: Google Frontend
content-length: 218
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
HTTP/2 200
last-modified: Thu, 01 Oct 2020 00:18:25 GMT
content-type: text/html; charset=utf-8
vary: Cookie
vary: Accept-Encoding
set-cookie: session=eyJfcGVybWFuZW50Ijp0cnVlfQ.aHzYvA.VhVI3O_CNxSe8QA7GdlcrCnxvWA; Expires=Wed, 20 Aug 2025 11:53:32 GMT; Secure; HttpOnly; Path=/; SameSite=None
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-SOD62kGtrnVslzdtXesr7HNmYrnKka' 'unsafe-eval'; frame-ancestors 'self' https://developers.google.com/_d/analytics-iframe; report-uri https://csp.withgoogle.com/csp/devsite/v2
strict-transport-security: max-age=63072000; includeSubdomains; preload
x-xss-protection: 0
x-content-type-options: nosniff
cache-control: no-cache, must-revalidate
expires: 0
pragma: no-cache
content-encoding: gzip
x-cloud-trace-context: 44517676ae9ac5c9e7a587850b3d34e1
date: Sun, 20 Jul 2025 11:53:32 GMT
server: Google Frontend
content-length: 90352
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
tf.compat.v1.flags.Error | TensorFlow v2.0.0
Skip to main content
tf.compat.v1.flags.Error
tf.compat.v1.flags.Error
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]