Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnknownError, response_code=400 #37

Open
karimmorta opened this issue Nov 21, 2020 · 0 comments
Open

UnknownError, response_code=400 #37

karimmorta opened this issue Nov 21, 2020 · 0 comments

Comments

@karimmorta
Copy link

I suggest this is due to the token being nil,
however it maybe helpful to have a more explicit error ?

2020-11-21T21:40:32.537557+00:00 app[web.1]: D, [2020-11-21T21:40:32.537319 #4] DEBUG -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f] ETHON: performed EASY effective_url=https://exp.host/--/api/v2/push/send response_code=400 return_code=ok total_time=0.370627
2020-11-21T21:40:32.538666+00:00 app[web.1]: D, [2020-11-21T21:40:32.538601 #4] DEBUG -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f]    (0.9ms)  ROLLBACK
2020-11-21T21:40:32.539024+00:00 app[web.1]: I, [2020-11-21T21:40:32.538960 #4]  INFO -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f] Completed 500 Internal Server Error in 512ms (ActiveRecord: 8.9ms)
2020-11-21T21:40:32.539642+00:00 app[web.1]: F, [2020-11-21T21:40:32.539587 #4] FATAL -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f]
2020-11-21T21:40:32.539708+00:00 app[web.1]: F, [2020-11-21T21:40:32.539645 #4] FATAL -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f] Exponent::Push::UnknownError (Unknown error format: #<Typhoeus::Response:0x000055fad02ead08>):
2020-11-21T21:40:32.539741+00:00 app[web.1]: F, [2020-11-21T21:40:32.539695 #4] FATAL -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f]
2020-11-21T21:40:32.539789+00:00 app[web.1]: F, [2020-11-21T21:40:32.539745 #4] FATAL -- : [d41e1d66-ff94-45d1-a3e3-f597c970db6f] app/models/booking.rb:168:in `send_booking_notification'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant