sentry-cli: Error: EOF while parsing a value at line 1 column 0

Dear Team,

i am having a lot of trouble using sentry with code-push in react-native. I keep on getting the following log:

sentry-cli --auth-token 1231231*****131231 react-native codepush my-app ios build/ios \
    --deployment Staging \
    --org myOrg \
    --project myProject

> Fetching latest code-push package info
error: EOF while parsing a value at line 1 column 0

I have tried to pass --log-level=debug nothing logged. sentry-cli info looks good and also prints out the debug log like this:

[INFO] sentry_cli::api request GET https://sentry.io/api/0/
[INFO] sentry_cli::api using token authentication
[INFO] sentry_cli::api > GET /api/0/ HTTP/1.1
[INFO] sentry_cli::api > Host: sentry.io
[INFO] sentry_cli::api > Accept: */*
[INFO] sentry_cli::api > User-Agent: sentry-cli/1.16.0
[INFO] sentry_cli::api > Authorization: Bearer  *******
[INFO] sentry_cli::api < HTTP/1.1 200 OK
[INFO] sentry_cli::api < Server: nginx
[INFO] sentry_cli::api < Date: Wed, 05 Jul 2017 17:39:49 GMT
[INFO] sentry_cli::api < Content-Type: application/json
[INFO] sentry_cli::api < Content-Length: 825
[INFO] sentry_cli::api < Connection: keep-alive
[INFO] sentry_cli::api < X-XSS-Protection: 1; mode=block
[INFO] sentry_cli::api < Content-Language: en
[INFO] sentry_cli::api < X-Content-Type-Options: nosniff
[INFO] sentry_cli::api < Vary: Accept-Language, Cookie
[INFO] sentry_cli::api < Allow: GET, HEAD, OPTIONS
[INFO] sentry_cli::api < X-Frame-Options: deny
[INFO] sentry_cli::api < X-Served-By: web-d6992418
[INFO] sentry_cli::api < Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
[INFO] sentry_cli::api response: 200

Any idea whats going wrong?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

I’m getting this error consistently using subcommand upload-dsym. Came here because fastlane plugin wasn’t working throwing the above EOF error. …help

–log-level TRACE outputs nothing

sentry-cli --log-level TRACE  --auth-token *** upload-dsym --org *** --project *** ./fastlane/bcsymbols/***.dSYM.zip

with fastlane

[16:55:32]: Login successful
[16:55:32]: Looking for latest version...
[16:55:35]: Looking for dSYM files for ***
[16:55:37]: 🔑  Successfully downloaded dSYM file for *** to './fastlane/bcsymbols/***.dSYM.zip'
[16:55:37]: --------------------------------
[16:55:37]: --- Step: sentry_upload_dsym ---
[16:55:37]: --------------------------------
[16:55:37]: sentry-cli 1.35.4 installed!
[16:55:37]: Starting sentry-cli...
[16:55:37]: error: EOF while parsing a value at line 1 column 0
+------------------+--------------------------------------+
|                      Lane Context                       |
+------------------+--------------------------------------+
| DEFAULT_PLATFORM | ios                                  |
| PLATFORM_NAME    | ios                                  |
| LANE_NAME        | ios upload_symbols                   |
| DSYM_PATHS       | ["/Users/***.dSYM.zip  |
|                  | "]                                   |
+------------------+--------------------------------------+
[16:55:37]: Error while calling Sentry CLI

+------+--------------------+-------------+
|            fastlane summary             |
+------+--------------------+-------------+
| Step | Action             | Time (in s) |
+------+--------------------+-------------+
| 1    | default_platform   | 0           |
| 2    | download_dsyms     | 11          |
| 💥   | sentry_upload_dsym | 0           |
+------+--------------------+-------------+

[16:55:37]: fastlane finished with errors

[!] Error while calling Sentry CLI