-
Notifications
You must be signed in to change notification settings - Fork 25
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
Occasional "Invalid LngLat object: (NaN, NaN)" error on client #339
Comments
Ah possibly! The weird thing, though, is that as far as I can tell, I can't reproduce the error... If the problem was because the lat/long info isn't in PLUTO, it seems like the error would be easy to reproduce, right? |
Ahhh I think I know what's going on! I think that specific error comes up when a user clicks on a "View Detail" button on the Portfolio tab for a building without lat/lng coordinates. Try this example: https://demo-whoownswhat.herokuapp.com/en/address/QUEENS/10319/68TH%20ROAD |
Ok so given our recent refactorings, it seems like this error is no longer recreatable and not being logged in RollBar anymore! You can check out both pathways to the error:
|
Err, it seems to still be happening though? According to Rollbar, it's been happening for visits to some pages on the latest version of our codebase, although I can't reproduce it when I visit those URLs and click on every building in the portfolio... Still, since it appears to still be happening I'm gonna reopen this issue for now. |
In the tracebacks, it looks like this is coming from Mapbox GL and/or its React wrapper, but I'm not sure what's going on, and I'm having trouble reproducing the error.
@sraby, I think I recall you mentioning this error a long time ago, do you have any insight?
The text was updated successfully, but these errors were encountered: