Google Place Photo API returning 404

痞子三分冷 提交于 2019-12-02 12:13:31

问题


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:


The issue has been reported to Google:

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

EDIT

The issue has now been resolved



来源:https://stackoverflow.com/questions/43365056/google-place-photo-api-returning-404

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!