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?

1 Like

+1 Iā€™m having the same problem

Same problem here, did you fix it?