Can GET a single contact but DELETE returns 403 Forbidden

Giri28 Jan 2011 11:42 AM
Using the same code base, I can successfully GET a single contact. I can also PUT contactsync objects. However, when I attempt to us HTTP DELETE, the server return HTTP Code 403 - Forbidden. I have read/write permissions, so whats is going on. Any peculiarity with the HTTP DELETE method? Please help.
nick t8 Feb 2011 1:57 PM
QUOTE (Giri @ Jan 28 2011, 11:42 AM) <{POST_SNAPBACK}>
Using the same code base, I can successfully GET a single contact. I can also PUT contactsync objects. However, when I attempt to us HTTP DELETE, the server return HTTP Code 403 - Forbidden. I have read/write permissions, so whats is going on. Any peculiarity with the HTTP DELETE method? Please help.


can you please provide us with complete requests/responses including headers so we may look at this in more detail?
Anonymous10 Feb 2011 7:33 AM
Hi can someone please help, no yahoo email, code 403 url forbidden not allowed access what is this! no access to email or web site!!!!!
Benoit17 Feb 2012 9:47 AM
I&#39;m having the same issue... :( &nbsp;Cannot delete a single contact, server always return 403...<br><br>DELETE&nbsp;h t t p ://social.yahooapis.com/v1/user/UKO66NEAWVZSAFC66L2A2WSZNE/contact/67110721<br><div>Authorization: OAuth oauth_consumer_key=&quot;dj0yJmk9ZjF4eHJDUlZIYzdOJmQ9WVdrOWJXSlZXRUpaTm1VbWNHbzlNVGczTXpZeU9ETTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD0xZQ--&quot;, oauth_token=&quot;A%3DCN1vKXHquQEXa1qcNYdOsH878CRuxHuxxrdN9nO89Fi3VTvDy10SX5WMWM9CvVjb9KxvtdcGldnYOubAws5uchQe6rm4apsXvIp799ofzxHLbDdZc8oULq18uF8hiOsHyo.hN1eEbyL4uuSkJEy07hJEhToXdozHP5BapntanY1kD3qjmbjomEfwojVcpDrQC0JiBSPlgBH8bGwywB1VUa3VUwuuAw_FC0qBbQXRW3VMOuITMpVFaEqQMDctJDH42Gxp50EaUmSQ3VXt754zM2dHSRs8U6784PW1iNA9JB8luOK5ubdRA11sSOj2pTvFho5oTEIq5X1UicHkZwj34MPcykMcOYNV.8ebQpjacV997.y.Lufq1Fij9MQ4TaGrqBF8x8mbDNTfNa9zmsGneywwfRWReAUldkSpwxfX2mFhmIufFebY4EvcSGONVOmsZIwoelJbyMVMyPJZlGJg5_oUMCDLvZp4Ub81ZEXK4GrwL7dUvFhjaLBi.Z9<div>lcE2nKdcnecwyWCoh8Qhd7MdOUOoAMML8KbEK_GXlHIBLNTpTylTbwkgS__bfk_ys5YeJ4AyMlz260Laj1G1ubR.M3sV2SmV4aL720QfgOo5CaNigZdcCtKK0GHKQmES9pl._VuVQLOhS2hMyu1O32SvfSe.foiaYvOkGR7Pp4aN2LwK.rlpED9PAdFffcqckOnbNZPh8Ye0ujjEFj_4L16XhlRL_zlXFB_Yfj0IW5kZkQpC4VENv6VzoCTt2L2fjOmtSe34-&quot;, oauth_signature_method=&quot;HMAC-SHA1&quot;, oauth_signature=&quot;FG%2Bmmja7psXZKQB%2BvBCkw9himcQ%3D&quot;, oauth_timestamp=&quot;1329499836&quot;, oauth_nonce=&quot;EGUg8%2BgR4cXMlWn%2B8D5Hwg%3D%3D&quot;, oauth_version=&quot;1.0&quot;<br><br>Help please!<br><br>Thanks<br><div class="quote "><div class="quotetop ">QUOTE<cite>(nick t @ 8 Feb 2011 1:57 PM)</cite><blockquote class="quotemain"><!--quoteo(post=22110:date=Jan 28 2011, 11:42 AM:name=Giri)--><div class="quote "><div class="quotetop ">QUOTE <cite>(Giri @ Jan 28 2011, 11:42 AM) <a href="index.php?act=findpost&pid=22110">&lt;{POST_SNAPBACK}&gt;</a></cite><blockquote class="quotemain"><!--quotec-->Using the same code base, I can successfully GET a single contact. I can also PUT contactsync objects. However, when I attempt to us HTTP DELETE, the server return HTTP Code 403 - Forbidden. I have read/write permissions, so whats is going on. Any peculiarity with the HTTP DELETE method? Please help.<!--QuoteEnd--></blockquote><!--QuoteEEnd--><br><br>can you please provide us with complete requests/responses including headers so we may look at this in more detail?</div></div></blockquote></div></div></div></div>
Benoit17 Feb 2012 9:49 AM
Sorry forgot to paste the provider(Yahoo) response:<br><br>HTTP 403 Forbidden<br>Connection: close<br>Content-Length: 249<br>Content-Type: text/html<br>Date: Fri, 17 Feb 2012 17:30:36 GMT<br>Server: YTS/1.19.5<br>Via: HTTP/1.1 r2.ycpi.a2s.yahoo.net(YahooTrafficServer/1.19.5 [c s f ])<br><br>&lt;HTML&gt;=0A&lt;HEAD&gt;=0A&lt;TITLE&gt;Access Denied&lt;/TITLE&gt;=0A&lt;/HEAD&gt;=0A=0A&lt;BODY BGCOLOR=3D&#39;white&#39; FGCOLOR=3D&#39;black&#39;&gt;=0A&lt;H1&gt;Access Denied&lt;/H1&gt;=0A&lt;HR&gt;=0A=0A&lt;FONT FACE=3D&#39;Helvetica,Arial&#39;&gt;&lt;B&gt;=0ADescription: You are not allowed to access the document you requested.=0A&lt;/B&gt;&lt;/FONT&gt;=0A&lt;HR&gt;=0A&lt;/BODY&gt;<br><br><div class="quote "><div class="quotetop ">QUOTE<cite>( @ )</cite><blockquote class="quotemain"></blockquote></div></div>