Well, what does the body of the HTTP response say? There should
always be a specific error message in the HTTP response body.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Apr 19, 4:50 am, leptep <lep...@gmail.com> wrote:
> I have a video link on my website which on click generates an ajax
> call to the php function that calls the API.
> I double checked, there is no loop. the function
> simplexml_load_file(); is called once per click.
> when i get the error and make another call to the API mostly it's
> working, I don't have to wait 10 minutes.
> I'm sure Youtube quota system doesn't block a user after 10 - 20 or
> even 50 consecutive calls.
> Am I wrong?
> the IP again of my server is: 50.22.42.151
> it's a dedicated IP but the server itself is shared.
>
> thanks
>
> On Apr 18, 11:46 pm, Jeffrey Posnick <je...@google.com> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > It sounds like you're running into quota issues. Please see
>
> > http://apiblog.youtube.com/2010/02/best-practices-for-avoiding-quota....
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Apr 17, 10:41 pm, pytachok <lep...@gmail.com> wrote:
>
> > > i'm using php5 simplexml_load_file($youTubeFeedUrl) to get the feed.
> > > I am getting a playlist of a user and therefor do not need autentification.
> > > the playlist only has 6 videos in it.
>
> > > i'm only running the function once.
>
> > > it works maybe 80% of the time.
> > > when it's not working i get:
> > > failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
> > > Obviously I'm doing something wrong.
> > > i'm using a shared Host at hostgator.
> > > My IP: 50.22.42.151 is a dedicated IP,
> > > (I used a shared IP when I started getting these errors)
>
> > > thanks for any help,
>
> > > I'm clueless, why does it happen irregularly?
--
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