(“Expecting value”, s, err.value) None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

8/29/2021

I tried deploying my sample application in AWS kubernetes cluster ,CI/CD Pipeline is failed in deploy stage .Please help me .

Cloud watch event logs :

[ERROR] JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "/var/task/handlers/handler_base.py", line 24, in handler_func
    base_handler(event_model, func, sfn)
  File "/var/task/handlers/handler_base.py", line 57, in base_handler
    raise exception
  File "/var/task/handlers/handler_base.py", line 40, in base_handler
    func(event_model)
  File "/var/task/handlers/prepare_handler.py", line 20, in lambda_handler
    event.input.deployment_info.previous_release_version = helm_engine.get_latest_version(event)
  File "/var/task/helm_engine.py", line 63, in get_latest_version
    versions = json.loads(versions["command_response"]["stdout"])
  File "/var/lang/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/var/lang/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/var/lang/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
-- yugesh nallagatla
amazon-web-services
aws-lambda
cicd
kubernetes
kubernetes-helm

0 Answers