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 SolutionData Center Security Monitoring EditionProxySG 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:
Under Google Developers Console view for the Project, click on Overview.
Click YouTube APIs >YouTube Data API.
Click Enable API.
To remove the access restriction:
Under Google Developers Console view for the Project, click on Credentials.
Under Credentials tab, click on the API Key name.
Check whether the restriction is set to IP addresses:
Click Edit allowed IPs to remove or correct the restriction.