简体   繁体   中英

Why am I getting 405 code for Time Estimates while I can get 200 code for Product Types

I am using UberKit which was working very good for me until yesterday.

I can successfully make a GET request to fetch Product Types (returns 4 types of car and 200 code ) but cannot fetch Time Estimates data (returns NO error, NO data but 405 code ).

According to Uber API Reference page

401 Unauthorized the request requires user authentication (not logged in).

But also according to them, the Product Types as well as Time Estimates do not need access token and as a matter of fact, I do can fetch the Product Types data without access token mentioned above.

So did anybody else here meet this situation before, thanks.

Here is another similar question I posted and I have got the answer from Uber support officially.

It turned out that in my location, which is China, the full production Uber API has not been fully launched.

That's why anyone in China would get such weird response codes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM