Car Hailing - Cannot perform uber integration - OTP 2.4

76 views
Skip to first unread message

Alicia F

unread,
Oct 17, 2023, 4:26:53 AM10/17/23
to OpenTripPlanner Users
Hello, I'm trying Portland configuration and I'm getting this error when trying to make a route by bar hailing
--------
(UberService.java:150) Made price estimate request to Uber API at following URL: https://api.uber.com/v1.2/estimates/price
08:41:47.347 INFO [grizzly-5]  (UberService.java:150) Made price estimate request to Uber API at following URL: https://api.uber.com/v1.2/estimates/price
08:41:47.357 INFO [ForkJoinPool.commonPool-worker-5]  (CachingOAuthService.java:32) Requesting new https://login.uber.com/oauth/v2/token access token
08:41:47.357 INFO [grizzly-5]  (CachingOAuthService.java:32) Requesting new https://login.uber.com/oauth/v2/token access token
08:41:48.067 ERROR [grizzly-5]  (CachingOAuthService.java:38) Error fetching OAuth token from https://login.uber.com/oauth/v2/token. Response: {"error":"invalid_scope","error_description":"scope(s) are invalid"}
08:41:48.068 ERROR [grizzly-5]  (RideHailingFilter.java:84) Could not get ride hailing estimate for UBER

--------
I've created an uber developer account and placed clientId and clientsecret in router-config.json. I've also set redirect uri in Uber developer dashboard (I'm trying via localhost + otp 2.4 shaded) but I'm getting that error. Cannot find information about scopes in otp docs, am I missing something od does anyone know how to help me??

Thanks a lot.

Regards,

Alicia.

Leonard Ehrenfried

unread,
Oct 19, 2023, 2:54:47 PM10/19/23
to OTP Users
I think you will get more answers in our Gitter channel.

--
  Leonard Ehrenfried 
--
You received this message because you are subscribed to the Google Groups "OpenTripPlanner Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentripplanner-...@googlegroups.com.
Message has been deleted

FrankP

unread,
Oct 20, 2023, 1:24:15 PM10/20/23
to OpenTripPlanner Users
Might reach out to Uber.  Scopes is a concept on the uber side: https://developer.uber.com/docs/riders/guides/scopes
Reply all
Reply to author
Forward
0 new messages