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 18:35:17 GMT; Max-Age=300; Secure; Path=/
set-cookie: signin=autosignin; Expires=Sun, 20 Jul 2025 18:35:17 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 18:35:17 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-LbScOgQm/DXsXTVND9zTQ0mCwCksUq' '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: c2862baced137a3e54b3564bb3b663d3
date: Sun, 20 Jul 2025 18:30:17 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=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgoogledevelopers+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+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&access_type=online&response_type=code&state=%7B%22csrf_token%22%3A+%22e1d0758341e012bc0a6e900577b1120a51405d7124650ce33193ab92ca46b050%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 18:35:17 GMT; Max-Age=300; Secure; Path=/
set-cookie: session=.eJylVFtv4jgU_isrXncfEofQ8UjzQKAJSeNUDeTmlyq2KSQ4ISqQ22j--x7T0qlG87CjRUIyyOec7-bzffLcbF-rvN7W58nX8-tl-89kdzzu5Pb5mF_Oe_TMT68vz-fjYVtPvk62utDuzC_GVN9qOmJcy2dbrGnm3R3TdaTlpj7VTHGno-nM1PjWMHRs5Awjnk9nTDO1ya_dX-Sxe_7fXb9-n_zFAN5uvo6Lp6f522dBbIT3Ig2PpApOeRJfhP1FS8f5JUN9QxNTk2632Wi2LpzdEKO4iFA8iCoewqpvhbneyEVlyRWKHtzOu9Wk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KQ; Expires=Wed, 20 Aug 2025 18:30:17 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-RV5sXZ1u6lDzUIl0MVwQXV/FioMlNX' '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: ee40de8286db157d54b3564bb3b66a80
date: Sun, 20 Jul 2025 18:30:17 GMT
server: Google Frontend
content-length: 566
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:UYsC4gCBdZXSX-wb57PA8Q9B6QX0ig:C7k7-yiA1XG4SdzN;Path=/;Expires=Tue, 20-Jul-2027 18:30:18 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 18:30:18 GMT
location: https://www.tensorflow.org/oauth2callback?state=%7B%22csrf_token%22%3A+%22e1d0758341e012bc0a6e900577b1120a51405d7124650ce33193ab92ca46b050%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"
report-to: {"group":"coop_gse_qebhlk","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/gse_qebhlk"}]}
content-security-policy: script-src 'report-sample' 'nonce-aZZ2dqKw9iH4TtF8eTSmVg' 'unsafe-inline' 'unsafe-eval';object-src 'none';base-uri 'self';report-uri /cspreport
content-security-policy: require-trusted-types-for 'script';report-uri /cspreport
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 18:35:18 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.aH01ug.WCg3FJpRRDeQryI9cTE-Mtd8kWU; Expires=Wed, 20 Aug 2025 18:30:18 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-L5OCfWo5WvebbwNhtKPmUhEKfNOqU0' '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: 638860638b1896c654b3564bb3b66582
date: Sun, 20 Jul 2025 18:30:18 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.aH01uw.jZskDRzwZcCIw93Bx2ECw7WRufw; Expires=Wed, 20 Aug 2025 18:30:19 GMT; Secure; HttpOnly; Path=/; SameSite=None
content-security-policy: base-uri 'self'; object-src 'none'; script-src 'strict-dynamic' 'unsafe-inline' https: http: 'nonce-SGuNPYfRntNF0PHFnSJIiY7YFT1A3a' '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: 7fd20f950e17e83154b3564bb3b6623b
date: Sun, 20 Jul 2025 18:30:19 GMT
server: Google Frontend
content-length: 90350
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."],[],[]]