-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy zip for Logic App Standard #28046
Comments
Thank you for opening this issue, we will look into it. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wsilveiranz. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wsilveiranz. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wsilveiranz. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Describe the bug
Unable to deploy a .zip file for a Logic App Standard project. The error message does not provide enough information to troubleshoot nor resolve the problem.
Related command
az logicapp deployment source config-zip --name logicapp-dnotificationmc1 --resource-group rg-notifications-dev --subscription xxxxxx --src workflow.zip
Errors
The behavior of this command has been altered by the following extension: logicapp
Setting SCM_DO_BUILD_DURING_DEPLOYMENT to false
App settings have been redacted. Use
az webapp/logicapp/functionapp config appsettings list
to view.Waiting SCM site to be updated with the latest app settings
The command failed with an unexpected error. Here is the traceback:
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1561, in enable_zip_deploy_functionapp
remove_remote_build_app_settings(cmd, resource_group_name, name, slot)
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1467, in remove_remote_build_app_settings
scm_is_up_to_date = validate_app_settings_in_scm(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1426, in validate_app_settings_in_scm
scm_settings = _get_app_settings_from_scm(cmd, resource_group_name, name, slot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/utils.py", line 130, in call
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1416, in _get_app_settings_from_scm
return response.json() or {}
^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Issue script & Debug output
The behavior of this command has been altered by the following extension: logicapp
Setting SCM_DO_BUILD_DURING_DEPLOYMENT to false
App settings have been redacted. Use
az webapp/logicapp/functionapp config appsettings list
to view.Waiting SCM site to be updated with the latest app settings
The command failed with an unexpected error. Here is the traceback:
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1561, in enable_zip_deploy_functionapp
remove_remote_build_app_settings(cmd, resource_group_name, name, slot)
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1467, in remove_remote_build_app_settings
scm_is_up_to_date = validate_app_settings_in_scm(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1426, in validate_app_settings_in_scm
scm_settings = _get_app_settings_from_scm(cmd, resource_group_name, name, slot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/appservice/utils.py", line 130, in call
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.azure/cliextensions/logicapp/azext_logicapp/custom.py", line 1416, in _get_app_settings_from_scm
return response.json() or {}
^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Expected behavior
Deployment to complete successfully. If there is an error, provide me with a user-friendly error message that directs me to documentation to help resolve the error.
Please no raw stack trace.
Environment Summary
azure-cli 2.55.0
core 2.55.0
telemetry 1.1.0
Extensions:
logicapp 0.1.2
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/vscode/.azure/cliextensions'
Python (Linux) 3.11.5 (main, Nov 29 2023, 03:41:49) [GCC 10.2.1 20210110]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
The text was updated successfully, but these errors were encountered: