Routing API not working SDK

Routing API isn’t working for me even when I enabled it in APIkey itself.
Tried to create new API key with routing option enabled(along with all), still no luck.

My Code

val amsterdam = GeoCoordinate(52.377956, 4.897070)
val rotterdam = GeoCoordinate(51.926517, 4.462456)
val planRouteOptions = PlanRouteOptions(itinerary = Itinerary(amsterdam, rotterdam))
routingApi.planRoute(
planRouteOptions,
object : PlanRouteCallback {
override fun onSuccess(result: PlanRouteResult) {
}

    override fun onError(error: RoutingError) {
    }
}

)

I am getting following error,

com.tomtom.sdk.routing.online.ApiKeyError:
Request could not be completed due to a problem with the API key.
Possible problems are:
- Your API key is invalid.
- Your API key does not support either the Routing API or the Routing API with Extended Guidance endpoints.

Could you please guide me on this.

Hello,
Our engineering team is checking your issue. I will get back to you with an answer as soon as I get more information regarding this issue.

1 Like

Our engineering team is checking your issue

Happy to hear.
Thank you for the reply @tomczykm .

After investigation, we found out we have a bug in our system. We are working on resolving this issue, and I will let you know once the bug is fixed.

Thank you for bringing it to our attention!

Thank you for the update @tomczykm .

Hi again @nikilkumar ,
Can you please, check again?

Hi @tomczykm ,
Still I am getting the same error. Even tried with new APIKey, no luck.

Hi @tomczykm ,
Issue is still existing. Just now tried again.
I hope someone is still working on it.

Hi,
Yes, we are still looking into it. Thanks for your feedback.

Thank you for the update @tomczykm

Hi @nikilkumar,
A solution to your issue will be publicated with the new SDK version 0.3.310
This will happen next week. Sorry for the delay.

Hi @tomczykm ,

A solution to your issue will be publicated with the new SDK version 0.3.310

Thank you so much.

This will happen next week. Sorry for the delay.

No problem, It is just a fun project. In the meantime, I will explore other APIs.

Hi @nikilkumar,
Yes, the latest published version is 0.3.344, so it should work now.
Let us know in case of any issues.

Hi @tomczykm ,
Yes, it is working fine now. Thank you