Questions tagged [uber-api]

For questions about developing software that utilizes the Uber API. DO NOT ask customer support questions here. Please send those to Uber's customer support department.

864 questions
4
votes
2 answers

How to validate the uber webhook api?

The Uber documentation say The value of this field is a hexadecimal HMAC signature of the webhook HTTP request body, using the client secret as a key and SHA256 as the hash function. But what is the HTTP request body? I assume it is the JSON body…
alt-ctrl-dev
  • 689
  • 1
  • 6
  • 21
4
votes
1 answer

Uber OAuth Best Practices in Mobile App

I'd like to a make a mobile app that makes requests on behalf of a user. I understand the following OAuth flow: Open user in web view to give my app access to make requests on their behalf When they hit grant access, my server side app will receive…
sethfri
  • 1,307
  • 1
  • 15
  • 31
4
votes
1 answer

Uber request error

I am using uber to book the cab in my application. I got price list and successfully authenticated to get Access token. After that i am trying to book the cab by using request API. I included request scope. This is my code to call request…
selva_pollachi
  • 4,147
  • 4
  • 29
  • 42
4
votes
2 answers

Deep linking from Chrome to native app

I am working with the Uber API which uses uber://?... URLs to deep link into the Uber native app. I am building a mobile website and I'm building one of these URLs as described here; On iOS everything works fine but on Android the Uber app opens…
Sam Stern
  • 24,624
  • 13
  • 93
  • 124
4
votes
2 answers

Uber API showing cars position

Is there is a way using the Uber API for showing the cars position in realtime like Uber app? Reading the manual it seems that this feature is not yet implemented.
3
votes
1 answer

How to resolve error invalid_scope for uberats api token access

I'm trying to get token (using Oauth 2.0 protocol) from ubereats API (https://login.uber.com/oauth/v2/token) but it returns me : { "error" ; "invalid_scope" } Here a screenshoot of my postman : Here the documentation about that :…
harili
  • 406
  • 9
  • 24
3
votes
0 answers

How to get access to server token for riders API?

I'm trying to play around with Uber Riders API. But it doesn't provide the server token by default. All the existing documentation says it'll be available by default but looks like docs are updated recently. How to get access to server token?
3
votes
0 answers

Safari cannot open the page because the address is invalid after successful uber oauth

I'm linking to the uber api authentication endpoints (/authorize and /token) via iOS and after a successful login, it returns "Safari cannot open the page because the address is invalid". I've narrowed this down to an iOS specific problem because…
Arron J. Linton
  • 681
  • 2
  • 11
  • 28
3
votes
3 answers

operator != cannot be applied to double, null

I am getting an error on this code below: HashMap map = new HashMap(); map.put("driver", userId); map.put("customer", customerId); map.put("rating", 0); map.put("timestamp", getCurrentTimestamp()); map.put("destination", destination); …
Hotcaribbean
  • 57
  • 1
  • 1
  • 7
3
votes
3 answers

Display ETA and estimated money option for my "Ride there with Uber" button

I have integrated a "Ride there with Uber" button to my app. I feel, it would be more convenient for the users, if i displayed the ETA and estimated pricing for the destination. How may I achieve this? I am following this guide as of now :…
Sanket Ray
  • 1,071
  • 1
  • 15
  • 24
3
votes
0 answers

update: getting 400 error 'invalid_payment', only when rides are ordered via api, ordering on phone works fine

I'm getting an "invalid_payment" error only when ordering rides via the api. I thought it may have been an account issue so checked my app but I was able to login and order manually on my phone without any problems. Here is my request and response.…
3
votes
1 answer

How to open uber app with default schedule ride screen from other ios app?

I need to open uber app with default schedule a ride screen from my ios app. Right now i am using this code. but its just navigating user to uber app . if (UIApplication.shared.canOpenURL(NSURL(string:"uber://")! as URL)) { // if your…
Twinkle
  • 49
  • 4
3
votes
1 answer

Requesting an Uber ride with Apple Pay as a payment method

Is there a way to request an Uber ride through the rest API with Apple pay as the payment method? Currently, setting Apple Pay (payment_method_id, https://developer.uber.com/docs/riders/references/api/v1.2/payment-methods-get) when requesting the…
juliensaad
  • 2,019
  • 2
  • 20
  • 27
3
votes
2 answers

Uber REST API request receipt sandbox currency

When I try to request a receipt for a ride in sandbox, the response seems to always come back as 9 USD. The amount I don't care too much about, but the currency is problematic. The request is made through the API (sandbox), and both estimate and…
Matti
  • 31
  • 5
3
votes
1 answer

Uber Carthage swift LoginManager(loginType: .AuthorizationCode) giving accessToken=nil

I am trying to integrate Uber SDK with my current iOS app. I have Xcode :- 8.1 iOS :-10.1 and swift version :- 3.0 I have done setup for "Carthage" for Uber integration. let loginManager = LoginManager(loginType:…
1 2
3
57 58