# 404 errors returned when listing files for an assistant

**URL:** <https://community.pinecone.io/t/404-errors-returned-when-listing-files-for-an-assistant/6911>\
**Category:** Support\
**Tags:** pinecone-assistant\
**Created:** [November 10, 2024, 12:56am UTC](https://community.pinecone.io/t/404-errors-returned-when-listing-files-for-an-assistant/6911 "2024-11-10T00:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kduffie](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/kduffie/32/3454_2.png) [@kduffie](https://community.pinecone.io/u/kduffie)\
**Post date:** [November 10, 2024, 12:56am UTC](https://community.pinecone.io/t/404-errors-returned-when-listing-files-for-an-assistant/6911/1 "2024-11-10T00:56:54Z")

</div>

If you look at the curl example on [List Files - Pinecone Docs](https://docs.pinecone.io/reference/api/assistant/list_files) you’ll see that the URL uses a strange host starting with prod-1-data rather than [api.pinecone.io](http://api.pinecone.io).

Regardless, I am getting 404 errors back for my assistant name using either of those URLs. I get the same 404 when trying to upload a file to my assistant as well.

I should mention that I have checked and re-checked that my assistant name is correct. I get a valid response showing that it is Ready when I call the “check” method for that assistant name.

I’m guessing this is a documentation error. If so, then I need to know the correct URL for accessing and uploading assistant files.

Note that I’ve tried this manually using curl from a shell. So there is no other strange code involved.

---

<div class="post-metadata">

**Author:** ![kduffie](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/kduffie/32/3454_2.png) [@kduffie](https://community.pinecone.io/u/kduffie)\
**Post date:** [November 10, 2024, 1:16am UTC](https://community.pinecone.io/t/404-errors-returned-when-listing-files-for-an-assistant/6911/2 "2024-11-10T01:16:49Z")

</div>

Follow-up: I got this working by switching to the hostname that is listed in the documentation. I must not have checked that correctly when I did it the first time. If this other hostname is required, then it would be good to make that more visible in the docs. (I’m not using Python so am not using the SDK.)
