Apparently Firefox locates me at 50.6138111,3.0423598999999997 (which is actually 3 km away from where I am, but that's not your fault) but your API responds with {"message":"Invalid location co-ordinates."}.
Maybe it's a problem with the decimals in 3.0423598999999997?