digitalocean / digitalocean/doctl

"Unexpected end Of JSON input" error doing `doctl serverless deploy`.

Open
#1,345 14 comments 3 reactions 0 assignees View on GitHub
bug Needs Investigation
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

**Describe the Issue:**

Getting the following error when trying to deploy to DigitialOcean functions using `doctl`.

```bash
$ doctl serverless deploy do-fn-go-playground --verbose --verbose-build
Error: unexpected end of JSON input
```

**Environment:**

- doctl version: `doctl version 1.92.0-release`
- OS: `macOS 13.0.1`
- Installation method: `Homebrew`

**Additional Details:**

I asked the same [question](https://www.digitalocean.com/community/questions/unexpected-end-of-json-input-error-when-deploying-serverless-function-using-doctl) on DigitialOcean Community Questions where you can find more details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.