Im trying to test the YouTube API v3 Example from Google.
I downloaded the testfiles from GitHub: https://github.com/youtube/yt-samples-java
Then i filled in the client_id and client_secret in client_secrets.json (src/main/recourses)
also i filled in the API key in the youtube.properties file (src/main/recourses). Im using Eclipse.

Then i tried to run the UploadVideo.java file.. But i getting the follow error:

Java Code:
    IOException: 400 Bad Request
    {
      "error" : "unauthorized_client"
    }
    com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request
    {
      "error" : "unauthorized_client"
    }
What is the problem? My client_id and client_secret are correct..
I create these on the Developer Console from Google => https://console.developers.google.com/

Here the overview



And in the API page



Can you help me?
Thank you!