az rest deployment to flex function results in broken response #30960
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Functions
az functionapp
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I'm trying to update a flex-consumption azure function using the az rest api. The command I am using is below (I've removed any sensitive information). The deployment succeeds, but the response from the API includes some HTML AFTER the JSON.
This causes the command to fail as it tries to pass the response as JSON.
Related command
Errors
Issue script & Debug output
Expected behavior
I expect the resulting JSON to not have a whole bunch of HTML in it
Environment Summary
azure-cli 2.70.0
core 2.70.0
telemetry 1.1.0
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location '/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/bin/python'
Config directory '/Users/me/.azure'
Extensions directory '/Users/me/.azure/cliextensions'**
Additional context
This also happens if I run the equivalent az functionapp deploy command
The text was updated successfully, but these errors were encountered: