Skip to content

Error: credential propagation was unsuccessful #742

Description

@mmmannan

MessageError Traceback (most recent call last)
/tmp/ipython-input-4-4085076963.py in <cell line: 0>()
38 from google.colab import auth
39 from oauth2client.client import GoogleCredentials
---> 40 auth.authenticate_user()
41 gauth = GoogleAuth()
42 gauth.credentials = GoogleCredentials.get_application_default()

2 frames
/usr/local/lib/python3.11/dist-packages/google/colab/auth.py in authenticate_user(clear_output, project_id)
258 if not _check_adc(_CredentialType.USER):
259 if use_auth_ephem:
--> 260 _message.blocking_request(
261 'request_auth',
262 request={'authType': 'auth_user_ephemeral'},

/usr/local/lib/python3.11/dist-packages/google/colab/_message.py in blocking_request(request_type, request, timeout_sec, parent)
174 request_type, request, parent=parent, expect_reply=True
175 )
--> 176 return read_reply_from_input(request_id, timeout_sec)

/usr/local/lib/python3.11/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
101 ):
102 if 'error' in reply:
--> 103 raise MessageError(reply['error'])
104 return reply.get('data', None)
105

MessageError: Error: credential propagation was unsuccessful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions