Friday, January 6, 2012

[YouTube-API] Re: HTTP request failed! HTTP/1.0 403 Forbidden

Hello Filmi,

You might be running into quota issues:

http://apiblog.youtube.com/2010/02/best-practices-for-avoiding-quota.html

You should take a look at the body of the HTTP response (not just the
status line) as there should be a full description of why the request
failed there.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Dec 30 2011, 2:09 am, Filmi Shoukeen <rajender.s...@gmail.com>
wrote:
> Hi,
>
> While accessing YouTube API I am getting the followng error.
>
> simplexml_load_file(http://gdata.youtube.com/feeds/api/videos/
> 2LUuTRx_HIE?key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
> [function.simplexml-load-file]: failed to open stream: HTTP request
> failed! HTTP/1.0 403 Forbidden in \\xxxxxxxx\xxxxx\xxxxx\xxxxx
> \rightincludemy.php on line 96
>
> I have replaced the key and exact file location.
> My site is hosted on a shared hosting. It was working 20-30% of times
> but now its not working at all.
>
> Please help.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment