使用沙盒令牌访问 Lyft Ride Request 端点时,我突然收到 403“此端点不支持沙盒”。有人知道 Lyft 是否正在改变他们的 API 吗?
要求:
curl -X POST \
https://api.lyft.com/v1/rides \
-H 'Authorization: Bearer <sandbox_access_token>' \
-H 'Content-Type: application/json' \
-d '{"ride_type" : "lyft", "origin" : {"lat" : 37.77663, "lng" : -122.39227 }, "destination" : {"lat" : 37.771, "lng" : -122.39123, "address" : "Mission Bay Boulevard North" } }'
回复:
{
"error_description": "Sandbox is not supported for this endpoint",
"error": "forbidden"
}