# Issues cloning a workspace

**URL:** <https://help.anvilproject.org/t/issues-cloning-a-workspace/25>\
**Category:** Help\
**Created:** [February 17, 2021, 11:23pm UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25 "2021-02-17T23:23:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathryn.weaver](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kathryn.weaver](https://help.anvilproject.org/u/kathryn.weaver)\
**Post date:** [February 17, 2021, 11:23pm UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25/1 "2021-02-17T23:23:09Z")

</div>

I tried to clone the AnVIL\_GTEx\_V8\_hg38 workspace by using the Clone option in the teardrop menu. This failed with the error message: Failed to retrieve bucket `fc-secure-ff8156a3-ddf3-42e4-9211-0fd89da62108`

After this, I tried an alternative method to clone the workspace by downloading and reuploading a tsv of the participant data. Downloading the AnVIL\_GTEx\_V8\_hg38 participant data with the “Download all Rows” Feature in the Data tab of the workspace worked. I then created a new workspace which included Authorization domain Inherited groups AUTH\_ANVIL\_AnVIL\_GTEx\_V8\_hg38 upon creation. This also worked. However, after trying to re-upload the tsv in the new workspace, I got an error message that it was an Invalid TSV. First column header should start with “workspace”.

Notes: I’m a reader of the AnVIL\_GTEx\_V8\_hg38 workspace. Also, when opening the workspace an error message appears in the top right corner: error message “Error loading bucket location data”, “code : 400”, “message: Bucket is requester pays bucket but no user project provided.”, “domain: global”, “reason: required”

How can I successfully clone the workspace data?

---

<div class="post-metadata">

**Author:** ![cutsort](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cutsort](https://help.anvilproject.org/u/cutsort)\
**Post date:** [February 18, 2021, 1:49am UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25/2 "2021-02-18T01:49:47Z")

</div>

From Terra Support 8:47pm EST

> Your request (113855) has been received and is being reviewed by our support staff.

---

<div class="post-metadata">

**Author:** ![cutsort](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cutsort](https://help.anvilproject.org/u/cutsort)\
**Post date:** [February 18, 2021, 3:22pm UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25/3 "2021-02-18T15:22:35Z")

</div>

From Terra Support 9:40am EST

> Thanks for reaching out. When uploading the participant and sample tables to your new workspace, the first column headers for each file should be ‘entity:participant\_id’ and ‘entity:sample\_id’, respectively. Those two files will be uploaded using the ‘+’ button next to ‘TABLES’:  
> ![](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/d5c1f12ba897df3e6229447c63e2dc92d2c7aa6a.png)​

> The Workspace Data TSV file will have ‘workspace:sample\_attributes’ as the first column header. This file is uploaded by clicking ‘upload TSV’ in the Workspace Data tab.
> 
> ![](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/64fc74b531f29ca6460c62e20c2b757170585dad.png)​

> I was able to successfully download and upload the files to a new workspace. If you have any trouble uploading the files again, I can share my workspace with you to clone instead.

---

<div class="post-metadata">

**Author:** ![kathryn.weaver](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kathryn.weaver](https://help.anvilproject.org/u/kathryn.weaver)\
**Post date:** [February 18, 2021, 4:22pm UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25/4 "2021-02-18T16:22:51Z")

</div>

Thank you! Using the `+` button next to `TABLES` worked perfectly! I mistakenly was using the `Drag or click to upload TSV` in the Workspace Data tab that you referenced on the participant and sample `.tsv` tables.

---

<div class="post-metadata">

**Author:** ![kathryn.weaver](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@kathryn.weaver](https://help.anvilproject.org/u/kathryn.weaver)\
**Post date:** [February 18, 2021, 7:24pm UTC](https://help.anvilproject.org/t/issues-cloning-a-workspace/25/5 "2021-02-18T19:24:28Z")

</div>

To summarize, these are the working steps I used to clone a Workspace’s data since the Clone option in the teardrop menu currently wasn’t/isn’t working

I. Download `.tsv` data from Workspace of interest

1. Navigate to workspace of interest
2. Navigate to `DATA` tab (purple arrow)
3. Navgiate to `TABLES` and either `participant` or `sample` (blue arrow)
4. Download `.tsv` by clicking the `DOWNLOAD ALL ROWS` button (orange arrow)  
 ![Screen Shot 2021-02-18 at 12.52.35 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/3e67418a19fd230bd37ea8db995a2bf6b2aec51a.png)

II. Create new Workspace and upload the `.tsv`

1. Navigate to `Workspaces` from the hamburger menu button  
 ![Screen Shot 2021-02-18 at 1.22.02 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/ac5112147964cd47140704ef3a6d11fd260218e9.png)
2. Create new Workspace by clicking `+` button next to `WORKSPACES`. I made sure to match the `Authorization domain` of the new Workspace to the Workspace of interest that I wanted to clone.  
 ![Screen Shot 2021-02-18 at 1.22.14 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/e551fb5f59070e2b5da3ad015933946397faff37.png) ![Screen Shot 2021-02-18 at 1.22.33 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/9eb467e65b3b14bf1d7e9a2f1941f3df5e3b1baa.png)
3. Navigate to the `DATA` tab of the new Workspace
4. Click the `+` button next to `TABLES` and upload previously downloaded `.tsv`  
 ![Screen Shot 2021-02-18 at 1.36.59 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/2cd92830b4e20f6c4e3fbda03fc1733b1fe1f911.png) ![Screen Shot 2021-02-18 at 1.37.11 PM](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/b90022198d33aff78b8cfc14d9f167d165e537e0.png)
5. The data table should be there!

III. Alternatively, downloading the other workspace data

1. Follow steps I.1 - I.2 above
2. Navigate to the `OTHER DATA` and `Workspace Data` tabs (blue arrow, below)
3. Download `.tsv` by clicking `Download TSV` link (purple arrow)  
 ![Screenshot_other_data](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/22a496b54751aca4ef364f5921e759693a00ed58.png)
4. If you haven’t created the new workspace you wanted, do so by following the II.1-II.2 steps above or Navigate to the new Worskspace that you already created.
5. Again, navigate to the `OTHER DATA` and `Workspace Data` tabs (blue arrow, below)
6. Upload your previously downloaded `.tsv` by clicking `upload TSV` (red arrow) (Note, your Workspace’s `OTHER DATA` `Workspace Data` is unlikely to have any files in it unlike this screenshot)  
 ![Screenshot_other_data](https://canada1.discourse-cdn.com/flex027/uploads/anvil/original/1X/22a496b54751aca4ef364f5921e759693a00ed58.png)
