Hi, I'm trying to fetch a list of user contacts after a valid OAuth authentication but all calls come back with an obscure error message that I cant seem to figure out. Any help would be much appreciated. I'll outline my calls below:
I send the oauth params in the Authorization header (the values have been removed below for brevity) but all API calls seems to come back with the same response. The response details says "No resource mapping to web service root" which is what I can't figure out.
Request:
CODE
GET /v1/user/<USER_GUID_REMOVED>/contacts? HTTP/1.1
Authorization: OAuth realm="yahooapis.com", oauth_consumer_key="<CONSUMER_KEY_REMOVED>", oauth_nonce="bbb3bf26-8372-42e8-9c3f-eb3fa4c0b37e", oauth_signature="<SIGNATURE_REMOVED>", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1271195208", oauth_token="<AUTH_TOKEN_REMOVED>", oauth_version="1.0"
User-Agent: Java/1.6.0_19
Host: social.yahooapis.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Response:
CODE
HTTP/1.1 403 Forbidden
Date: Tue, 13 Apr 2010 21:46:49 GMT
Content-Type: application/xml
Content-Language: en
Age: 0
Transfer-Encoding: chunked
Connection: keep-alive
Via: HTTP/1.1 r4.ycpi.a2s.yahoo.net (YahooTrafficServer/1.18.4 [cMsSf ])
Server: YTS/1.18.4
<?xml version='1.0' encoding='utf-8'?>
<error xmlns='http://yahooapis.com/v1/base.rng'
xml:lang='en'>
<description>403 Forbidden</description>
<detail>No resource mapping to web service root
</detail>
</error>