Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8677263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:24:49+00:00 2026-06-12T20:24:49+00:00

I have created a Youtube small web application using the Youtube API . The

  • 0

I have created a Youtube small web application using the Youtube API. The application sends messages to my customers, and if a message is not sent successfully i print the Youtube error to know where is the problem, through this code :

try {  // Send the message.
    $sentMessage = $yt->sendVideoMessage( $body, null, $videoId, $customerName );
} catch (Zend_Gdata_App_HttpException $e) {                 
    $errorReport .= "- YouTube Error: " . $e->getRawResponseBody() . "\n";
}

Some messages are being sent fine, but sometimes strange Youtube errors are being print, and i can’t figure out where the problem is. For example it prints :

  • YouTube Error: 11
    Validation failed

And this sometimes :

  • YouTube Error: 9
    Forbidden

Is there a guide that refers to these error numbers, so i can fix my code according to their meaning ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:24:50+00:00Added an answer on June 12, 2026 at 8:24 pm

    After a lot of investigation i found what those 2 errors mean :

    YouTube Error: 11 Validation failed

    This error occurred because there was a missing character in the video id. It was typed wrong, so this error seems to occur if there was some wrong entry in the sendVideoMessage(…) parameters.

    YouTube Error: 9 Forbidden

    This error occurs because i have sent too many messages at the same time, so Youtube thought i am sending spam messages.

    That took some time, but now things are fixed 🙂

    If someone knows a guide explaining all possible Youtube API errors, please share it so everyone can benefit from that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have successfully created an upload script using the API, but now I
I have created an android application that calls (using kSOAP library) a SOAP based
I have created a PC application using java where I manipulate MP3 files. I
I have created a JSP / servlets application running in Tomcat 7. It runs
I have created a function that shows/hides different messages according to a combination of
I have the following code. It successfully stream the video from YouTube. But when
Let me explain my problem: I have four tables created as objects using Entity
I am opening a YouTube web page using the 'webbrowser' module: controller = webbrowser.get()
Hi i have created the following ckeditor plugin to insert a youtube video: (function()
I'm trying to create a small Web App to categorize certain type of YouTube

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.