Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Invalid JSON Error on Design Documents PUT command #503

Ninerian opened this Issue · 0 comments

1 participant


While working through the official guide I discovered an error on the design document part.

After executing the command:

curl -X PUT -data-binary @mydesign.json

i got the error:

curl: (6) Could not resolve host: mydesign.json

the debuglog told me

Invalid JSON: {{error,
                                      "lexical error: invalid char in json text.\n"}},

After some searching on google i discovered the solution on stackoverflow:

by changing the command to

curl -X PUT -d @mydesign.json

i was able to go further in the guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.