Welcome to Microsoft Q&A Platform!
Thank you for bringing this to our attention. Based on the error message, we recommend clearing the Azure Functions extension cache in Visual Studio Code and attempting the deployment again.
Here are the steps to clear the cache:
- Open Visual Studio Code.
- Press
Ctrl + Shift + P
(orCmd + Shift + P
on Mac) to open the Command Palette. - Type
Azure: Clear Cache
and select it from the list. - Restart Visual Studio Code.
- Attempt the deployment again.
If the issue persists, please let us know, and we’ll assist you further.