bolizhou
bolizhou

Reputation: 1218

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.

Upvotes: 0

Views: 44

Answers (1)

bolizhou
bolizhou

Reputation: 1218

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.

Upvotes: 0

Related Questions