SL Travel Planner 3.1 Error
Hello
I'm new in SL Travel Planner 3.1 API. I have made a project and got an API key, when I sent the request via this API call I always get this error {"Status Code": 1002, "Message": "Key is invalid"}.
I'm using the SL Travel 3.1 API documentation page https://api.sl.se/api2/TravelplannerV3_1/journeydetail.json?key= & id = 1 | 3598 | 0 | 74 | 13062017
Kindly tell me what's the issue in my request?
I'm new in SL Travel Planner 3.1 API. I have made a project and got an API key, when I sent the request via this API call I always get this error {"Status Code": 1002, "Message": "Key is invalid"}.
I'm using the SL Travel 3.1 API documentation page https://api.sl.se/api2/TravelplannerV3_1/journeydetail.json?key= & id = 1 | 3598 | 0 | 74 | 13062017
Kindly tell me what's the issue in my request?
Följ inlägget
0
följare
It seems there is some invalid space between your key and ID
Try to remove the spaces.
Below you have an example request:
https://api.sl.se/api2/TravelplannerV3_1/journeydetail.xml?key=<API-key>&id=1|66101|0|74|14052019
Regards Pia