0

Yahoo Addressbook API returning Error 302

Is there some kind of service issue with the Yahoo Address book API right now? I am trying to implement Addressbook API integration in the php webapp I'm working on but Yahoo keeps returning this 302 error.

I'm using the ybrowserauth.class.php5 file provided by Yahoo and calling makeAuthWSgetCall to the URL:

http://address.yahooapis.com/v1/searchCont...email.present=1

What I receive back is:

<HTML>
<HEAD><TITLE>302 Moved Temporarily</TITLE></HEAD>
<BODY>
<H1>Moved Temporarily<H1>
<H4>
You are being redirected to a new location because:<P>
[code=BYPASSED_URL] The client request was forwarded directly to the origin server. No action is required.
</H4>
<HR>
</BODY>
</HTML>

Checking the HTML headers reveals that the Redirect is sending me to the same address I called makeAuthWSgetCall with.

What is going on?

Is Yahoo broken?

by
3 Replies
  • Adam,

    We are not aware of anything here that would be causing this but I'll get your message to the Address Book team. We did have one other developer mention this yesterday, so it seems to be affecting few people, but that's still too many!

    Thanks,
    Robyn Tippins
    Community Manager, YDN
    0
  • I found a simple fix for this issue.

    In the ybrowserauth.class.php5 file add the following lines below line 316:

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_MAXREDIRS, 10);

    This causes curl to follow the 302 location and retrieve the addressbook entries.
    0
  • For use dumb users how is this done?

    I have been unable to email anyone with a yahoo email for over a week now.

    Alma Jo
    0
  • Alma Jo,

    Please visit help.yahoo.com and click on Mail. Customer Service agents should be able to help you.

    Robyn Tippins
    Community Manager, YDN
    0

Recent Posts

in Contacts