我有一个有效的令牌并向 GET /products 发出请求。我product_id
从响应中获取一个并将其发送到 POST /requests 以及
身体:
{
"product_id":"my-valid-product-id",
"start_longitude":38.9,
"start_latitude":-77.0,
"end_longitude":"-77.0",
"end_latitude":"38.9"
}
回应是:
{"message":"Invalid product \"my-valid-product-id\". Available: ","code":"not_found"}
知道怎么了?
编辑此问题已解决。发送了错误的 GPS 坐标,因此 Uber 拒绝了乘车请求。“可用:”字符串表示在我使用的错误 GPS 位置没有可用的优步。