Hi, I have acquired content url using GetContentDownloadUrl but when I try to download using UnityWebRequest Get method it gives an error "Http 403"
private IEnumerator WaitForFileDownloading(string URL) { if (string.IsNullOrEmpty(URL)) yield break; using (UnityWebRequest unityWebRequest = UnityWebRequest.Get(URL)) { unityWebRequest.method = UnityWebRequest.kHttpVerbGET; StartCoroutine(DownloadingBar(unityWebRequest)); yield return unityWebRequest.SendWebRequest(); if (unityWebRequest.isHttpError || unityWebRequest.isNetworkError) Debug.LogError("Error: " + unityWebRequest.error); else { if (unityWebRequest.isDone) { Debug.Log("Successfully downloaded book from PlayFab"); byte[] dataInBytes = unityWebRequest.downloadHandler.data; File.WriteAllBytes(filePath, dataInBytes); } } } }