Places FindPlace Bug - Field "url"
@wangela đang làm issue này rồi.
Từ ngày 19/4/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Environment details
- Place FindPlace - NodeJS Client
- MacOS m1
- "@googlemaps/google-maps-services-js": "3.3.28"
Steps to reproduce
- Make a FindPlace call with fields
urlandphotoas per documentation on https://developers.google.com/maps/documentation/places/web-service/search-find-place#Place

Code example
const foundplace = await GoogleMapsClient.findPlaceFromText({
params: {
inputtype: 'textquery',
input: query.search_term,
key: GOOGLE_API_KEY,
fields: ['url'],
}
})
Stack trace
data: {
candidates: [],
error_message: "Error while parsing 'fields' parameter: Unsupported field name 'url'. ",
status: 'INVALID_REQUEST'
}
Also as a side note. The documentation on that page says photo field is part of basic fields type. However the table to indicate all the available fields shows photos as plural. Using photo or photos still returns photos successfully.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 118
- Fork
- 94
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googlemaps/openapi-specification
-
triage me type: feature request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
googlemaps/openapi-specification#521 · 1 reaction ·
-
triage me type: feature request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
googlemaps/openapi-specification#485 · 4 bình luận · 5 reaction ·
-
triage me type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
googlemaps/openapi-specification#484 · 1 bình luận ·
-
triage me type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
googlemaps/openapi-specification#483 · 1 bình luận ·
-
[Place Details API response] geometry field - LatLngLiteral does not specify the geocode levelĐang mởtriage me type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
googlemaps/openapi-specification#464 · 1 bình luận ·