雷达搜索请求随机失败并显示“status”:“UNKNOWN_ERROR”

时间:2014-02-24 22:47:08

标签: google-maps google-places-api

这是网址。用钥匙替换[KEY]。

https://maps.googleapis.com/maps/api/place/radarsearch/json?sensor=true&radius=402&types=accounting|airport|amusement_park|aquarium|art_gallery|bakery|bank|bar|beauty_salon | bicycle_store | book_store | bowling_alley | bus_station |咖啡厅|营地| car_dealer | car_rental | car_repair | car_wash |赌场|墓地|教堂| city_hall | clothing_store | convenience_store |法院|牙医| department_store |医生|电工| electronics_store |大使馆|成立|金融| fire_station |花店|食品| funeral_home | furniture_store | gas_station | general_contractor | grocery_or_supermarket |健身房| hair_care | hardware_store |健康| hindu_temple | home_goods_store |医院| insurance_agency | jewelry_store |洗衣店|律师|库| liquor_store | local_government_office |锁匠|住宿| meal_delivery | meal_takeaway |清真寺| movie_rental | movie_theater | moving_company |博物馆| night_club |画家|公园|停车场| pet_store |药房|治疗师| place_of_worship |管道工|警察| post_office | real_estate_agency |餐厅| roofing_contractor | R v_park |学校| shoe_store | shopping_mall |温泉|体育场|存储|商店| subway_station |会堂| taxi_stand | train_station | travel_agency |大学| veterinary_care |动物园&安培;位置= 37.785834%2C-122.406417&安培;键= [KEY]

当我打电话给这个网址时,它有时会工作,但大部分时间我都会回来

{
    "html_attributions" : [],
    "results" : [],
    "status" : "UNKNOWN_ERROR"
}

步骤:   将网址粘贴到Chrome中(用真实密钥替换[key]),然后重新加载网址请求几次。

谢谢 弗兰克

1 个答案:

答案 0 :(得分:0)

Google本身似乎有这样的错误:

https://developers.google.com/maps/documentation/javascript/examples/place-radar-search

点击该链接,他们的页面会抛出错误。