No, I'm afraid I don't have any insight to offer there, other than
attributing it to inadvertent user error.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Sep 22, 1:20 pm, Sagar <sagarra...@gmail.com> wrote:
> Hello Jeff, Replacing the account name "carolinachevy" with "default"
> in the request URL fixed the problem. Thanks a lot, I appreciate your
> help.
>
> I have few more question about the same thing you might help me with.
> I was using browser based uploading method and I used carolinachevy
> credentials to get upload URL and Token.
> 1)Any idea how the video is being uploaded to a different account when
> we were using carolinachevy credential to get the tokens.
> 2) We were able to log in to carolinachevy youtube channel and view
> the video but API call returns 404 when we use the account name
> "carolinachevy". How that's possible?
>
> Thanks.
>
> -Sagar
>
> On Sep 21, 2:28 pm, Jeffrey Posnick <je...@google.com> wrote:
>
>
>
>
>
>
>
> > Hello Sagar,
>
> > The issue is that video doesn't live in the "carolinachevy" account.
> > It lives in a different YouTube account, so hardcoding the
> > "carolinachevy" portion of the URL is going to lead to a 404.
>
> > If you are making an authenticated request, and assuming you have the
> > credentials of the user who actually owns that video, I'd recommend
> > that you use the special string "default" instead of the YouTube
> > account name. This will resolve to the account of the currently
> > authenticated user. So you'd want to request
>
> > http://gdata.youtube.com/feeds/api/users/default/uploads/ZdIXPfZGw0I
>
> > when you're authenticated as the owner of video ZdIXPfZGw0I.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Sep 20, 3:56 pm, Sagar <sagarra...@gmail.com> wrote:
>
> > > Hello Jeff,
>
> > > URL that raises 404 Exception is :http://gdata.youtube.com/feeds/api/
> > > users/carolinachevy/uploads/ZdIXPfZGw0I
> > > The video is being upload as private from my application. Here is how
> > > the app works :
> > > 1)Users upload the video through our app.
> > > 2)Our team reviews it then approve the video, When its approved, I am
> > > making API call to set it to public.
>
> > > I 've verified the code base using my test account which is :http://gdata.youtube.com/feeds/api/users/advisedevelopers/uploads/R3m...,
> > > It worked fine. The problem is with the account "carolinachevy".
>
> > > Please let me know if you need any further information to diagnose the
> > > problem.
>
> > > On Sep 19, 3:21 pm, Jeffrey Posnick <je...@google.com> wrote:
>
> > > > Hello Sagar,
>
> > > > That's not enough information to determine what's going on. Could you
> > > > let us know exactly which URL is being requested when the 404 error is
> > > > returned? You can use a network traffic monitoring tool like Wireshark
> > > > or Fiddler to determine this, or enable logging in the .NET client
> > > > library.
>
> > > > Cheers,
> > > > -Jeff Posnick, YouTube API Team
> > > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > > @YouTubeDev
>
> > > > On Sep 15, 9:37 pm, Sagar <sagarra...@gmail.com> wrote:
>
> > > > > I was using C# YouTube API (ref:http://cstruter.com/blog/313) to
> > > > > update the videos but it's returning an error 404(Execution failed:
> > > > > remote sever not found). Could you please let me know what could be
> > > > > the problem.
>
> > > > > I was able to update the videos successfully using the same code base
> > > > > on my test youtube account. The problem is only with the account I use
> > > > > for live app. any help would be appreciated.
>
> > > > > Thanks,
> > > > > Sagar
--
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