Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access error with a specific workspace #86

Closed
shbrief opened this issue Sep 1, 2023 · 1 comment
Closed

Access error with a specific workspace #86

shbrief opened this issue Sep 1, 2023 · 1 comment

Comments

@shbrief
Copy link
Contributor

shbrief commented Sep 1, 2023

One of the public workspaces that I have READER access (terracontest/TOSC19-idap) can't be accessed with the avworkflows function. Can someone help me to resolve this issue? Thanks!

> all_workspaces <- AnVIL::avworkspaces()
> ind <- grep("terracontest", all_workspaces$namespace)
> all_workspaces[ind,]
# A tibble: 1 × 5
  name        lastModified createdBy              namespace    accessLevel
  <chr>       <date>       <chr>                  <chr>        <chr>      
1 TOSC19-idap 2021-07-15   [email protected] terracontest READER     
> all_workflows <- AnVIL::avworkflows(namespace = all_workspaces$namespace[ind], name = all_workspaces$name[ind])
Error: 'avworkflows' failed:
  Not Found (HTTP 404).
  workspace terracontest/TOSC19-idap does not exist or you do not have permission to use it
@LiNk-NY
Copy link
Contributor

LiNk-NY commented Sep 1, 2023

Hi @shbrief
I will take a look at the fix.
It seems like there is a space in front of the workspace name.
For now, you can do:

paste0(" ", all_workspaces$name[ind])

LiNk-NY added a commit that referenced this issue Sep 1, 2023
@LiNk-NY LiNk-NY closed this as completed in 2cb3948 Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants