# EgoExo4D AssertionError when Downloading (... does not have a manifest path)

**URL:** <https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456>\
**Category:** Q&A\
**Created:** [January 23, 2024, 5:49pm UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456 "2024-01-23T17:49:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobi](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Tobi](https://discuss.ego4d-data.org/u/Tobi)\
**Post date:** [January 23, 2024, 5:49pm UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/1 "2024-01-23T17:49:16Z")

</div>

Hello there,

firstly congratulations and thanks for that great work!

Unfortunately I have problems downloading the data.

I already received an “Access ID” and an “Access Key”.

I installed and configured the download client using:

```auto
conda create -n ego4d python=3.11 -y
conda activate ego4d
pip install ego4d --upgrade
pip install awscli
aws configure
AWS Access Key ID [None]: <Access ID>
AWS Secret Access Key [None]: <Access Key>
Default region name [None]: us-west-1
Default output format [None]: json

```

Then I tried to download using:

```auto
egoexo -o C:\Users\Admin\Downloads

```

And ended up with this error message:

```auto
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Admin\anaconda3\envs\ego4d\Scripts\egoexo.exe\ __main__.py", line 7, in <module>
  File "C:\Users\Admin\anaconda3\envs\ego4d\Lib\site-packages\ego4d\egoexo\download\cli.py", line 11, in main
    download_main(args)
  File "C:\Users\Admin\anaconda3\envs\ego4d\Lib\site-packages\ego4d\internal\download\cli.py", line 185, in main
    assert pathmgr.exists(
AssertionError: metadata does not have a manifest path (looking at s3://ego4d-consortium-sharing/egoexo-public/v1/metadata\manifest.json)

```

I thought it might be that the credentials for AWS are wrong, as I get the same error, when I just put “non-sense” there (and because I found this post: [Metadata does not have a manifest path when download ego-exo4d - #11 by ahashi](https://discuss.ego4d-data.org/t/metadata-does-not-have-a-manifest-path-when-download-ego-exo4d/430/11)), so I requested and retrieved new credentials, however the problem persists.

I also tried the same on Ubuntu, with different regions, from different locations/networks and so on…

Any helpful advice would be much appreciated. Thanks a lot in advance!

---

<div class="post-metadata">

**Author:** ![miguelmartin](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@miguelmartin](https://discuss.ego4d-data.org/u/miguelmartin)\
**Post date:** [January 24, 2024, 7:51pm UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/2 "2024-01-24T19:51:51Z")

</div>

Thank you for your post, the output looks valuable. I did not test the CLI on windows and this seems to be the problem, as the code uses forward slashes in combination with `os.path.join` resulting in a both that uses both forward and backward slashes.

To help me resolve the issue, can you confirm whether the command:

```auto
aws s3 cp s3://ego4d-consortium-sharing/egoexo-public/v1/metadata/manifest.json manifest.json

```

or

```auto
aws s3 cp s3:\\ego4d-consortium-sharing\egoexo-public\v1\metadata\manifest.json manifest.json

```

works, or do both?

Thank you.

---

<div class="post-metadata">

**Author:** ![Tobi](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Tobi](https://discuss.ego4d-data.org/u/Tobi)\
**Post date:** [January 24, 2024, 8:38pm UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/3 "2024-01-24T20:38:10Z")

</div>

Thank you for your reply.

Here is the output from my Anaconda prompt for both commands. I’d say the first works and the second doesnt.

```auto
aws s3 cp s3://ego4d-consortium-sharing/egoexo-public/v1/metadata/manifest.json manifest.json
download: s3://ego4d-consortium-sharing/egoexo-public/v1/metadata/manifest.json to .\manifest.json

```

```auto
aws s3 cp s3:\\ego4d-consortium-sharing\egoexo-public\v1\metadata\manifest.json manifest.json

usage: aws s3 cp <LocalPath> <S3Uri> or <S3Uri> <LocalPath> or <S3Uri> <S3Uri>
Error: Invalid argument type

```

Btw, I also tried to address that issue by trying to download on a Ubuntu system, but ended up with the same error (just with other dashes). Maybe there I did not try thoroughly enough (and possibly not after requesting new credentials), I can give it another shot on Ubuntu tomorrow.

Thanks again for your answer!

Edit: It seems to me, that the issue for this case actually is Windows. I assume the problem I had on Ubuntu earlier, was due to me trying to download “parts” that did not exist for the “uids” that I tried to download. I now managed to download using the Ubuntu subsystem for Windows, installing the CLI directly from your Github repo on the “egoexo\_downloader\_patch” branch.

---

<div class="post-metadata">

**Author:** ![jwilkins96](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jwilkins96](https://discuss.ego4d-data.org/u/jwilkins96)\
**Post date:** [January 26, 2024, 8:58pm UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/4 "2024-01-26T20:58:03Z")

</div>

Hi! I am still hitting this error about the manifest path.

I tried running the manifest path scp command listed above, but for the capture\_raw\_vrs, but it’s forbidden.

```auto
aws s3 cp s3://ego4d-consortium-sharing/egoexo-public/v1/capture_raw_vrs/manifest.json manifest.json
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

```

```auto
Running command: egoexo -o mypath --parts capture_raw_vrs --splits test
Traceback (most recent call last):
  File "/ext3/miniconda3/bin/egoexo", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/ext3/miniconda3/lib/python3.11/site-packages/ego4d/egoexo/download/cli.py", line 11, in main
    download_main(args)
  File "/ext3/miniconda3/lib/python3.11/site-packages/ego4d/internal/download/cli.py", line 186, in main
    assert pathmgr.exists(
AssertionError: capture_raw_vrs does not have a manifest path (looking at s3://ego4d-consortium-sharing/egoexo-public/v1/capture_raw_vrs/manifest.json)

```

Any suggestions on what to try next to unblock this? Thanks!

---

<div class="post-metadata">

**Author:** ![miguelmartin](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@miguelmartin](https://discuss.ego4d-data.org/u/miguelmartin)\
**Post date:** [January 27, 2024, 3:09am UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/5 "2024-01-27T03:09:54Z")

</div>

This part is no longer available. There will be announcement shortly. Apologies for the inconvenience.

---

<div class="post-metadata">

**Author:** ![miguelmartin](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@miguelmartin](https://discuss.ego4d-data.org/u/miguelmartin)\
**Post date:** [January 27, 2024, 3:10am UTC](https://discuss.ego4d-data.org/t/egoexo4d-assertionerror-when-downloading-does-not-have-a-manifest-path/456/6 "2024-01-27T03:10:27Z")

</div>

Thank you for this information. I will be sure to patch this for the next release of the CLI.
