azure-functions-host
azure-functions-host copied to clipboard
Unable to parse host configuration file
Investigative information
Azure fails to parse the attached host.json file. It provides only this error in the portal:
System.FormatException : Unable to parse host configuration file 'C:\home\site\wwwroot\host.json'. --->
Newtonsoft.Json.JsonReaderException : After parsing a value an unexpected character was encountered: ". Path 'extensions', line 8, position 4
But there is no "extensions" element in the file. Is it being read from a cache somewhere?
- Timestamp: Today, 22 August, 1537 New York time
Expected behavior
The file should be parsed correctly.
Actual behavior
The file is not parsed correctly.
Known workarounds
None found. I have attempted restarting the app. I have attempted stopping the app for a while and then restarting it. Neither was effective. Additionally, running the function in my local development environment works fine, no complaints about this file.