DataFed icon indicating copy to clipboard operation
DataFed copied to clipboard

[Bug] - generate_globus_files.sh

Open JoshuaSBrown opened this issue 2 months ago • 0 comments

Description

Seeing the following error when running generate_globus_files.sh

Traceback (most recent call last):
  File "/home/cloud/release/DataFed/scripts/globus/initialize_globus_endpoint.py", line 128, in <module>
    client_id, client_secret = utils.createClient(
  File "/home/cloud/release/DataFed/scripts/globus/utils.py", line 311, in createClient
    client_id = createNewClient(auth_client, client_name, project_id)
  File "/home/cloud/release/DataFed/scripts/globus/utils.py", line 127, in createNewClient
    result = auth_client.create_client(
  File "/opt/datafed/dependencies/python/lib/python3.9/site-packages/globus_sdk/services/auth/client/service_client.py", line 1286, in create_client
    return self.post("/v2/api/clients", data={"client": body})
  File "/opt/datafed/dependencies/python/lib/python3.9/site-packages/globus_sdk/client.py", line 358, in post
    return self.request(
  File "/opt/datafed/dependencies/python/lib/python3.9/site-packages/globus_sdk/client.py", line 522, in request
    raise self.error_class(r)
globus_sdk.services.auth.errors.AuthAPIError: ('POST', 'https://auth.globus.org/v2/api/clients', 'Bearer', 403, 'FORBIDDEN', 'To access this project you must have an identity with admin privileges in session within the last 30 minutes.', '

Steps to Replicate

Additional context

Page occured:

Expected behavior

Artifacts (if appropriate):

JoshuaSBrown avatar Nov 19 '25 15:11 JoshuaSBrown