## Description Getting a pesky warning in the "tree" view, if path to the directory includes "notebooks"(with that exact spelling). ## Reproduce 1. Create a path that includes "notebooks", and has sub-directories. ("http://localhost:8888/tree/test/notebooks/test") 2. Navigate to that path via UI tree view. 3. Click Refresh 4. Get a pesky warning: ``` File Load Error for test Invalid response: 404 Not Found ``` 5. Renaming directory "notebooks" to **LITERALLY ANYTHING** (including capitalising any of the letters) removes the issue. ## Expected behavior No warning happens <img width="1152" alt="jupyter-tree-warning" src="https://github.com/jupyter/notebook/assets/17853685/38d502d3-c223-4817-8cc0-90aabb53cabe">