Server Error in '/' Application.

The remote server returned an error: (403) Forbidden.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (403) Forbidden.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[WebException: The remote server returned an error: (403) Forbidden.]
   System.Net.HttpWebRequest.GetResponse() +1463
   AlphaPublishing.Core.SocialMedia.YoutubeAPI.WebResponseGet(HttpWebRequest webRequest) +132

[Exception: Error in YouTube video: https://www.googleapis.com/youtube/v3/videos?id=RY32F3UdntI&key=AIzaSyA87jx0rNFQHdScws21y4uKRdVMSQomt3o&part=snippet]
   AlphaPublishing.Core.SocialMedia.YoutubeAPI.WebResponseGet(HttpWebRequest webRequest) +545
   AlphaPublishing.Core.SocialMedia.YoutubeAPI.YoutubeRequest(String url) +149
   AlphaPublishing.Core.SocialMedia.YoutubeAPI.GetVideoById(String videoId) +167
   AlphaPublishing.ElectronicsArena.Common.VideosPanelList.DisplayDetails(Int32 id) in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\Common\VideosPanelList.ascx.cs:127
   AlphaPublishing.ElectronicsArena.Common.VideosPanelList.Page_Load(Object sender, EventArgs e) in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\Common\VideosPanelList.ascx.cs:61
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0