derhuerst / vbb-rest

An HTTP API for Berlin & Brandenburg public transport.
https://v6.vbb.transport.rest/
ISC License
123 stars 14 forks source link

"location must be an object" error message #30

Closed julianschmuckli closed 6 years ago

julianschmuckli commented 6 years ago

When I use the nearby function I will get a new error message. Here's an example:

Coordinates 52.5059459215, 13.4022812225

GET Request: https://2.vbb.transport.rest/stations/nearby?latitude=52.5059459215&longitude=13.4022812225

Response:

{
    error: true,
    msg: "location must be an object."
}

Is there already a solution to fetch the nearby stations?

Many thanks

derhuerst commented 6 years ago

Can't reproduce locally on the 2 branch. Need to debug with @juliuste what's running on the server.

juliuste commented 6 years ago

Should be fixed now, there was some confusion between the 2 branch and the 2 tag of vbb-rest.

julianschmuckli commented 6 years ago

Thank you. My app is working now again.