403 Forbidden Error with Google Play Services Auth when building

I have been working on an Android game. At one point I had gotten it down to where I could build it to my phone and run it. It would sign into the Cloud Save using a Google Sign In, and everything was working. I then went on to work on the rest, and everything was working in the Editor.

However, once I went to try and build it back to my phone again, I started getting some Gradle errors while trying to Build. While I was trying to search those errors, I was finding more responses on Updating Unity than anything, so I did that and updated to the 2022.3.45f1.

Now when I try to build I get the errors below. I have verified that I am signed in to the correct account, I re installed Google Play Services Plugin 10.14. The Client ID is correct and everything is active in my Console. So I am trying to find out what is causing these errors.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':unityLibrary:generateReleaseRFile'.
> Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
   > Could not resolve com.google.android.gms:play-services-auth:16+.
     Required by:
         project :unityLibrary
      > Failed to list versions for com.google.android.gms:play-services-auth.
         > Unable to load Maven meta-data from https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo/com/google/android/gms/play-services-auth/maven-metadata.xml.
            > Could not GET 'https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo/com/google/android/gms/play-services-auth/maven-metadata.xml'. Received status code 403 from server: Forbidden

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 28s

0x00007ff69591de3d (Unity) StackWalker::GetCurrentCallstack
0x00007ff695922f19 (Unity) StackWalker::ShowCallstack
0x00007ff696912eb1 (Unity) GetStacktrace
0x00007ff696fcdffe (Unity) DebugStringToFile
0x00007ff694834c68 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000027d33221a43 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000027d3322171b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000027d332214a0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000027dbd1c1b55 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000027dbd1c16b3 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x0000027d335af123 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x0000027dbd1a94c3 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x0000027dbd139d93 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000027dbd1389d1 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000027dbd138d45 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007ffc70a64c2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffc7099d254 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ffc7099d3cc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007ff695836d14 (Unity) scripting_method_invoke
0x00007ff695814924 (Unity) ScriptingInvocation::Invoke
0x00007ff697341c41 (Unity) CallMono
0x00007ff69734b1ed (Unity) PostprocessPlayer
0x00007ff697345a83 (Unity) DoBuildPlayer_PostBuild
0x00007ff697343b9e (Unity) DoBuildPlayer
0x00007ff697337038 (Unity) BuildPlayer
0x00007ff69509eebf (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff694e7e4ac (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000027d33096db7 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x0000027d33096633 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000027d33092e0b (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000027d33092933 (Mono JIT Code) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x0000027d31e4fb5b (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000027d31e3c1b3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000027d31d7a10b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000027d319be5b2 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000027d319be3d3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x0000027d319abd2b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000027d318fd8ff (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000027d319995bb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000027d31a93b4b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000027d31a939c3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000027d31acd28b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027d31aca6b3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027d333f4af3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x0000027d333f46d3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000027d333f440f (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x0000027d333f4163 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000027d31ac77eb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027d3342a3be (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000027d33429d1b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027d333ed083 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000027d333ece5b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000027d333ecd9b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x0000027d3342a21b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027d334242b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000027d3342412b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000027ecfa82c93 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000027ecfa82723 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000027ecfa8253f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000027ecfa8245b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000027ecfa81905 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000027ecfa81a46 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffc70a64c2e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffc7099d254 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007ffc7099d3cc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007ff695836d14 (Unity) scripting_method_invoke
0x00007ff695814924 (Unity) ScriptingInvocation::Invoke
0x00007ff69580f445 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff69596825a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff69636b0b4 (Unity) GUIView::ProcessRetainedMode
0x00007ff696944aa0 (Unity) GUIView::OnInputEvent
0x00007ff69636afe3 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff69636aeb8 (Unity) GUIView::ProcessInputEvent
0x00007ff6969458de (Unity) GUIView::ProcessEventMessages
0x00007ff69693f6f4 (Unity) GUIView::GUIViewWndProc
0x00007ffd7f0e82e1 (USER32) DispatchMessageW
0x00007ffd7f0e7da1 (USER32) DispatchMessageW
0x00007ff696918a03 (Unity) MainMessageLoop
0x00007ff69691df04 (Unity) WinMain
0x00007ff697ccf93e (Unity) __scrt_common_main_seh
0x00007ffd7eca257d (KERNEL32) BaseThreadInitThunk
0x00007ffd7fa6af28 (ntdll) RtlUserThreadStart

Is there anyone that has a clue on this? I haven’t been able to get it to work yet

Does anyone know about this issue?