Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Azure Web Apps Deploy Pipe has JSONDecode Error Edited

The azure web apps deploy pipe is failing with an JSONDecode Error.

 

Does someone know which could cause this issue?

 

INFO: Starting deployment to Azure app service...az webapp deployment source config-zip --resource-group fortix-dev --name dev-angular-nestjs-skeleton --src /opt/atlassian/pipelines/agent/build/package-70.zipERROR: Expecting value: line 1 column 1 (char 0)Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke    cmd_result = self.invocation.execute(args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in execute    raise ex  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 386, in _run_jobs_serially    results.append(self._run_job(expanded_arg, cmd_copy))  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job    six.reraise(*sys.exc_info())  File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise    raise value  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 356, in _run_job    result = cmd_copy(params)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 171, in __call__    return self.handler(*args, **kwargs)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 441, in default_command_handler    return op(**command_args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 271, in enable_zip_deploy    response = _check_zip_deployment_status(deployment_status_url, authorization, timeout)  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 2054, in _check_zip_deployment_status    res_dict = response.json()  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 897, in json    return complexjson.loads(self.text, **kwargs)  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads    return _default_decoder.decode(s)  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode    raise JSONDecodeError("Expecting value", s, err.value) from Nonejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,650 views 63 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you