I found a bug that caused the co-pilot to generate the error “An error occurred while processing your request. Please try again later.” when the python file did not exist, only Jupyter notebook files exist.
See the attached picture for my reasoning.
Screenshots/Recording:
[case1: only Jupyter notebook files exist]

[case2: python file exist]

- Versions (plugin, IDE, OS):
PyCharm 2025.1.2
Build #PY-251.26094.141, built on June 10, 2025
Source revision: 0f4e379ff77b9
Runtime version: 21.0.7+9-b895.130 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 32
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.andrey4623.rainbowcsv (2.0.2)
com.github.copilot (1.5.47-243)
I found a bug that caused the co-pilot to generate the error “An error occurred while processing your request. Please try again later.” when the python file did not exist, only Jupyter notebook files exist.
See the attached picture for my reasoning.
Screenshots/Recording:
[case1: only Jupyter notebook files exist]

[case2: python file exist]

PyCharm 2025.1.2
Build #PY-251.26094.141, built on June 10, 2025
Source revision: 0f4e379ff77b9
Runtime version: 21.0.7+9-b895.130 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 32
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.andrey4623.rainbowcsv (2.0.2)
com.github.copilot (1.5.47-243)