extended-salmon•2y ago
GoogleMapsAPI error code
Cannot figure out why my googel map api says a 400 error code. I created the api code to spec but still not valid. Any help would be grateful.
1 Reply
It seems like you're having trouble with your Google Maps API returning a 400 error code. This error typically indicates a bad request, which means there might be an issue with how you've configured your API request.
One common issue could be incorrect header and parameter configuration. In your API step, ensure that both the "content-type" and "authorization" sets of values are in the headers section of the API step, not the parameters section.
Another potential issue could be unsuccessful JSON parsing when capturing the response. When utilizing the API Block to capture text responses, ensure that the key is formatted correctly in the capture response section. The key should always start with "response.records", and use square brackets starting from index 0 to indicate which element to capture.
Please review your API configuration and the way you're capturing the response. If the issue persists, it might be beneficial to consult with the community members who have experience with Google Maps API integration.
Source: My Airtable Integration is Not Working