googlemaps / googlemaps/google-maps-services-python

Including `page_token` leads to `INVALID_REQUEST` error for Places API requests

未關閉
#498 1 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
triage me type: bug
主要語言
Python
星號
5k
分支
1.4k
PR 合併指標
30 天內沒有已合併 PR

描述

The `places_nearby` and `places` methods accept a `page_token` parameter

```python
gmaps.places_nearby(
page_token=page_token,
# ...
)
```

Including it raises `googlemaps.exceptions.ApiError: INVALID_REQUEST` exception

貢獻指南

開啟貢獻指南

研究方向

從用戶端程式庫中的 `places_nearby` 和 `places` 方法開始,重現一個包含 `page_token` 的請求。追蹤該參數如何傳送至 Places API,然後驗證有效請求不再引發 `googlemaps.exceptions.ApiError: INVALID_REQUEST`。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。