Is sentry-cli connected to a specific version of the sentry server?

I’m asking because at work we run a Sentry 8.10.0 server and I am trying to use the sentry-cli 1.6 against it to upload symbols from an Xcode 8.2.1 / Swift 3.0 project.

When I run it, I get this:

~/Downloads/sentry-cli-Darwin-x86_64 --auth-token $SENTRY_TOKEN upload-dsym \
  --org mozilla-mobile --project firefox-ios ~/Downloads/Fennec-1.2872/Release-iphoneos
Uploading symbols
Finding symbols in /Users/sarentz/Downloads/Fennec-1.2872/Release-iphoneos...
  Creating DSym batch
Detecting dsyms to upload
error: bad json: EOF while parsing a value at line 1 column 0

It is unclear whether this happens because the server is too old or the symbols incorrect.

Can you pass --log-level=debug to sentry-cli to see what it’s doing? In theory it should work with older on-prem sentry but there is always a chance a bug sneaked in.

Just a quick update. This was something silly where there was a mismatch between the --org and --project parameters. After sorting that out we can now upload symbols. Thanks for the help!