kestra icon indicating copy to clipboard operation
kestra copied to clipboard

Endpoint to delete namespace_file is not working

Open aballiet opened this issue 2 months ago • 3 comments

Describe the issue

To reproduce:

  • Create a namespace file in Kestra UI
  • Try to delete it using API call

Here is a short loom video showcasing the issue: https://www.loom.com/share/dc3f26d764e04f36873721af02580102

The endpoint http://localhost:8080/api/v1/namespaces/prod.automation/files?path=my_file.py seems not responding.

Current fix is to add leading / in the path like : http://localhost:8080/api/v1/namespaces/prod.automation/files?path=/my_file.py.

In the TF resource it's hacky to define it as "/my_name"

Environment

  • Kestra Version: 0.19.8

aballiet avatar Nov 26 '24 14:11 aballiet