Describe the bug
Team is testing GraphRag Data Management API. We are able to list and upload containers but the delete operation fails
To Reproduce
Steps to reproduce the behavior:
Start backend server
Go to localhost:port#/manpages/docs
trigger the /data/delete/{storage_name}
See error
Expected behavior
Sucessfully delete the container both on cosmos and storage account.
Screenshots
If applicable, add screenshots to help explain your problem. -- see attached
Desktop (please complete the following information):
OS: Mac - Sonoma
Version 14.6.1
Additional context
GraphRag API is deployed to kubernetes as pod. We are running it via service / port forward to local host. Delete operations fail at File "/backend/src/api/data.py", line 208, in delete_files
container_store_client.delete_item(
@data_route.delete(
"/{storage_name}",
summary="Delete a data storage container",
response_model=BaseResponse,
responses={200: {"model": BaseResponse}},
)
async def delete_files(storage_name: str):
"""
Delete a specified data storage container.
"""
sanitized_storage_name = sanitize_name(storage_name)
try:
Describe the bug Team is testing GraphRag Data Management API. We are able to list and upload containers but the delete operation fails
To Reproduce Steps to reproduce the behavior:
Expected behavior Sucessfully delete the container both on cosmos and storage account.
Screenshots If applicable, add screenshots to help explain your problem. -- see attached
Desktop (please complete the following information):
Additional context GraphRag API is deployed to kubernetes as pod. We are running it via service / port forward to local host. Delete operations fail at File "/backend/src/api/data.py", line 208, in delete_files container_store_client.delete_item(
@data_route.delete( "/{storage_name}", summary="Delete a data storage container", response_model=BaseResponse, responses={200: {"model": BaseResponse}}, ) async def delete_files(storage_name: str): """ Delete a specified data storage container. """ sanitized_storage_name = sanitize_name(storage_name) try:
delete container in Azure Storage