# Panic: runtime error: invalid memory address or nil pointer dereference in ecctl 1.1.0

**URL:** https://discuss.elastic.co/t/panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-in-ecctl-1-1-0/263808
**Category:** Elasticsearch
**Tags:** ecctl
**Created:** [February 9, 2021, 9:25pm UTC](https://discuss.elastic.co/t/panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-in-ecctl-1-1-0/263808 "2021-02-09T21:25:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bbaronas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bbaronas/32/116240_2.png) [@bbaronas](https://discuss.elastic.co/u/bbaronas)
#### Post date: [February 9, 2021, 9:25pm UTC](https://discuss.elastic.co/t/panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-in-ecctl-1-1-0/263808/1 "2021-02-09T21:25:13Z")

</div>

I am trying to output an upload template for my Elastic Cloud deployment using ecctl. However, when I run `ecctl deployment show <deployment id> --generate-update-payload > update.json` using my actual deployment id I get a panic. The update.json file gets generated, but it is empty.

I can list my deployments and I can view my current deployment in my terminal when I run `ecctl deployment show <deployment id>` so I'm fairly certain ecctl is working normally. I just cannot run the --generate-update-payload flag.

Any ideas?

I'm on a Mac (BigSur 11.2)

---

<div class="post-metadata">

### Author: ![bbaronas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bbaronas/32/116240_2.png) [@bbaronas](https://discuss.elastic.co/u/bbaronas)
#### Post date: [February 16, 2021, 2:18pm UTC](https://discuss.elastic.co/t/panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-in-ecctl-1-1-0/263808/2 "2021-02-16T14:18:29Z")

</div>

It appears that this panic has been fixed in the latest version of ecctl 1.2.0.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 16, 2021, 2:19pm UTC](https://discuss.elastic.co/t/panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-in-ecctl-1-1-0/263808/3 "2021-03-16T14:19:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
