Manu Chadha
Manu Chadha

Reputation: 16755

how to debug "resource not found" issue when uploading documents to azure storage

I am running this workbook - https://github.com/Azure-Samples/graphrag-accelerator/blob/main/notebooks/1-Quickstart.ipynb

I am stuck at the "Upload Files" step. When I run the cell, I get 404 Resource Not Found error, from the following step.

response = requests.post(
                url=url,
                files=files,
                params={"storage_name": storage_name, "overwrite": overwrite},
                headers=headers,
            )

I am using the following values

file_directory = "testdata" //this is local directory where test files are
storage_name = "wikiarticles" //this is container name in the blob
index_name = "graphragindex" //this is name I have given. I assume that an index will be created with this name
endpoint = "https://apim-wu3bxzxbwbrw4.azure-api.net" //this is apim resource. It's the value of gateway endpoint as mentioned in the notebook

enter image description here

enter image description here

Upvotes: 0

Views: 46

Answers (0)

Related Questions