1
votes

Google Place Photo API is returning 404 for any photo reference I use. I'm sure I'm doing something wrong

Nearby Google Request

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=12.9716,77.5946&radius=5000&keyword=arbor&key={KEY}

Photo Reference from Nearby Response:

CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn__-dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI-4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A

Photo Request

https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn__-dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI-4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A&key={KEY}

returns 404. Not sure what I am doing wrong

1

1 Answers

3
votes

The issue has been reported to Google:

https://issuetracker.google.com/issues/37262562

EDIT

The issue has now been resolved