# 404 Error on use\_artifact() call on existing artifact

**URL:** <https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412>\
**Category:** W&B Help\
**Tags:** artifacts\
**Created:** [November 15, 2023, 8:26pm UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412 "2023-11-15T20:26:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoohee](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@yoohee](https://community.wandb.ai/u/yoohee)\
**Post date:** [November 15, 2023, 8:26pm UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412/1 "2023-11-15T20:26:57Z")

</div>

I’m getting the following error when calling use\_artifact(). Creating an artifact seems to work fine.

```auto
wandb: ERROR Error while calling W&B API: failed to find run artifact/4e54ygf8 (<Response [404]>)
Traceback (most recent call last):
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/sdk/lib/retry.py", line 131, in __call__
    result = self._call_fn(*args, **kwargs)
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 366, in execute
    return self.client.execute(*args, **kwargs) # type: ignore
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 52, in execute
    result = self._get_result(document, *args, **kwargs)
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 60, in _get_result
    return self.transport.execute(document, *args, **kwargs)
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/sdk/lib/gql_request.py", line 59, in execute
    request.raise_for_status()
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/folders/38/db3wysd12rl46s8z6jx1ksr00000gn/T/ipykernel_31482/2024531381.py", line 13, in load_data
    raw_data_artifact = run.use_artifact("mnist:latest")
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/sdk/wandb_run.py", line 371, in wrapper_fn
    return func(self, *args, **kwargs)
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/sdk/wandb_run.py", line 361, in wrapper
    return func(self, *args, **kwargs)
...
  File "/Users/yoohee/opt/anaconda3/envs/base-python39-wandb/lib/python3.9/site-packages/wandb/util.py", line 905, in no_retry_auth
    raise CommError(f"Permission denied to access {wandb.run.path}")
wandb.errors.CommError: Permission denied to access yoohee/artifacts-example-with-kolena/4e54ygf8

```

---

<div class="post-metadata">

**Author:** ![carlo-catimbang](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@carlo-catimbang](https://community.wandb.ai/u/carlo-catimbang)\
**Post date:** [November 20, 2023, 8:03am UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412/2 "2023-11-20T08:03:40Z")

</div>

Hi Yohee,

Thank you for reaching out. I’ll be glad to assist you with this concern. I appreciate the full trace back error that you provided. Can you also provide the following:

- A reproducible code snippet for me to reproduce the issue that you are encountering
- the debug.log and debug-internal.log files. These files are under your local folder `wandb/run-<date>_<time>-<run-id>/logs` in the same directory where you’re running your code.
- WandB Version that you are using

Regards,  
Carlo Argel

---

<div class="post-metadata">

**Author:** ![carlo-catimbang](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@carlo-catimbang](https://community.wandb.ai/u/carlo-catimbang)\
**Post date:** [November 28, 2023, 10:06am UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412/3 "2023-11-28T10:06:38Z")

</div>

Hi Yohee,

I just want to follow up the following information needed for this. Additionally, can you also check the following:

1. Can you create the artifact correctly?
2. Are you trying to access an artifact that you have created? (We can see here a permissions related issue: wandb.errors.CommError: Permission denied to access yoohee/artifacts-example-with-kolena/4e54ygf8 )
3. Can you provide us a code snippet of how you are trying to utilize the use\_artifact() call

Regards,  
Carlo Argel

---

<div class="post-metadata">

**Author:** ![carlo-catimbang](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@carlo-catimbang](https://community.wandb.ai/u/carlo-catimbang)\
**Post date:** [December 1, 2023, 3:47am UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412/4 "2023-12-01T03:47:29Z")

</div>

Hi Yoohee, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [January 14, 2024, 8:27pm UTC](https://community.wandb.ai/t/404-error-on-use-artifact-call-on-existing-artifact/5412/5 "2024-01-14T20:27:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
