Event log error "Access Not Configured. The API (YouTube Data API) is not enabled for your project" and Youtube categorization is not working in ProxySG

book

Article ID: 168729

calendar_today

Updated On:

Products

Asset Management Solution Data Center Security Monitoring Edition ProxySG Software - SGOS

Issue/Introduction

Blue Coat categories for YouTube do not work even though the API V3 server key is set. The event log shows the following error:

"Error in response - reason:'accessNotConfigured', message:'Access Not Configured. The API (YouTube Data API) is not enabled for your project. Please use the Google Developers Console to update your configuration.'"  0 500002:1   youtube_response_buffer_stream.cpp:90

Cause

This issue has two possible causes:
  • YouTube API is not enabled for the project created.
  • Access restriction is enabled in the Google Developers Console for YouTube query. This restricts the access to certain IP ranges/Subnet as configured on the YouTube API page.

Resolution

Enable YouTube API for the project:
  1. Under Google Developers Console view for the Project, click on Overview.
  2. Click YouTube APIs > YouTube Data API.
  3. Click Enable API.

To remove the access restriction:
  1. Under Google Developers Console view for the Project, click on Credentials.
  2. Under Credentials tab, click on the API Key name.
  3. Check whether the restriction is set to IP addresses:
Google Developer Console
  1. Click Edit allowed IPs to remove or correct the restriction.

Attachments