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


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 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/", line 206, in invoke    cmd_result = self.invocation.execute(args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 328, in execute    raise ex  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", 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/", line 379, in _run_job    six.reraise(*sys.exc_info())  File "/usr/local/lib/python3.6/site-packages/", line 693, in reraise    raise value  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 356, in _run_job    result = cmd_copy(params)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 171, in __call__    return self.handler(*args, **kwargs)  File "/usr/local/lib/python3.6/site-packages/azure/cli/core/", line 441, in default_command_handler    return op(**command_args)  File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/", 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/", line 2054, in _check_zip_deployment_status    res_dict = response.json()  File "/usr/local/lib/python3.6/site-packages/requests/", line 897, in json    return complexjson.loads(self.text, **kwargs)  File "/usr/local/lib/python3.6/json/", line 354, in loads    return _default_decoder.decode(s)  File "/usr/local/lib/python3.6/json/", line 339, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())  File "/usr/local/lib/python3.6/json/", line 357, in raw_decode    raise JSONDecodeError("Expecting value", s, err.value) from Nonejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


1 answer

0 votes

@Adrian Natter please, share the structure of your pipeline - that part when you use this pipe. Looks like some variable you passed is not in right structure

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,495 views 4 8
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