Places FindPlace Bug - Field "url"
@wangela arbeitet bereits daran.
Seit 19.4.2023.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 118
- Forks
- 94
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus googlemaps/openapi-specification
-
triage me type: feature request
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
googlemaps/openapi-specification#521 · 1 Reaktion ·
-
triage me type: feature request
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
googlemaps/openapi-specification#485 · 4 Kommentare · 5 Reaktionen ·
-
triage me type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
googlemaps/openapi-specification#484 · 1 Kommentar ·
-
triage me type: bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 30/100
googlemaps/openapi-specification#483 · 1 Kommentar ·
-
[Place Details API response] geometry field - LatLngLiteral does not specify the geocode levelOffentriage me type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 38/100
googlemaps/openapi-specification#464 · 1 Kommentar ·