Generate 6010 error code

hi team, When i try to access http://localhost:8080/ors/v2/matrix/driving-car it generate an error

{
“error”: {
“code”: 6010,
“message”: “Source point(s) [0, 1, 2, 3] out of bounds: 48.477473,9.70093; 49.153868,9.207916; 55.801281,37.573242; 38.106467,115.663757. Destination point(s) [0, 1, 2, 3] out of bounds: 48.477473,9.70093; 49.153868,9.207916; 55.801281,37.573242; 38.106467,115.663757”
},
“info”: {
“engine”: {
“version”: “5.0.1”,
“build_date”: “2019-06-06T05:48:35Z”
},
“timestamp”: 1559806724833
}
}

what is the mistake I did??

Which OSM file did you use? If you didn’t change anything in docker-compose.yml then it’s Heidelberg and your queries for Laichingen won’t work.

yeap, now i have changed the osm file (sri-lanka-latest.osm.pbf). then I recreate docker image using docker-compose up comand, but still generate same error after try out the api

this time i tried {“locations”:[[7.0280,79.9230],[6.9224,79.8661]]} as body, token has included on headers under “Authorization”

{
“error”: {
“code”: 6010,
“message”: “Source point(s) [0, 1] out of bounds: 79.923,7.028; 79.8661,6.9224. Destination point(s) [0, 1] out of bounds: 79.923,7.028; 79.8661,6.9224”
},
“info”: {
“engine”: {
“version”: “5.0.1”,
“build_date”: “2019-06-06T05:48:35Z”
},
“timestamp”: 1559809151174
}
}

Here is my docker.composer file right now

Are you using correctly the locations? i mean, in others APi’s the location is Latitude,Longitude but in openrouteservices is Longitude,Latitude jajaja make sure of that xD

and i hope i was not late for this

Jup, coords definitely switched lon, lat:) Also @amila, you’re using an “old” way for docker. Please try the latest master branch.