0

403 Error making geocode request

I am now getting an error after making subsequent geocode requests.

Warning: file_get_contents(http://local.yahooapis.com/MapsService/V1/geocode?appid=MY_APP_ID&street=6727+N+5TH+ST&city=PHILADELPHIA&state=PA&output=php) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

Request is:

file_get_contents(http://local.yahooapis.com/MapsService/V1/geocode?appid=MY_APP_ID&street=6727+N+5TH+ST&city=PHILADELPHIA&state=PA&output=php

Response is:
HTTP request failed! HTTP/1.1 403 Forbidden


I can provide my true value of MY_APP_ID if necessary. Could this be a throttling issue, or is there a problem with the format of my request?

by
1 Reply
  • GET /MapsService/V1/geocode?appid=MY_APP_ID&street=BOX+269&city=TOUGHKENAMON&state=PA&output=php HTTP/1.0

    Host: local.yahooapis.com



    HTTP/1.1 403 Forbidden

    Date: Mon, 19 Jul 2010 14:46:42 GMT

    P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"

    Connection: close

    Content-Type: text/html; charset=iso-8859-1




    Yahoo! - 403 Forbidden


    src=http://us.i1.yimg.com/us.yimg.com/i/yahoo.gif
    width=147 height=31 border=0 alt="Yahoo!">

    href="http://us.rd.yahoo.com/403/*http://www.yahoo.com">Yahoo!

    - Help

    Sorry, Forbidden.


    You don't have permission to access this URL on this server.


    Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.

    Please check the URL for proper spelling and capitalization. If
    you're having trouble locating a destination on Yahoo!, try visiting the

    href="http://us.rd.yahoo.com/403/*http://www.yahoo.com">Yahoo! home
    page

    or look through a list of
    href="http://us.rd.yahoo.com/403/*http://docs.yahoo.com/docs/family/more/">Yahoo!'s
    online services
    . Also, you may find what you're looking for
    if you try searching below.

    0
This forum is locked.

Recent Posts

in Local API - General Questions