node.js - Uber API returns 404 'Invalid product' -


i have valid token , make request /products. take product_id response , send post /requests along

body:

{     "product_id":"my-valid-product-id",     "start_longitude":38.9,     "start_latitude":-77.0,     "end_longitude":"-77.0",     "end_latitude":"38.9" } 

the response :

{"message":"invalid product \"my-valid-product-id\". available: ","code":"not_found"} 

any idea what's up?

edit issue has been resolved. wrong gps coordinates being sent uber rejected ride request. "available :" string means no ubers available @ incorrect gps location used.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -