Hi, I'm trying to use the CLI tool to migrate all data from one title to another. However, whenever the tool attempts to upload a .zip file in the File Management CDN, it fails due to a 403 Forbidden error. Other file types, such as .json, work without issue.
What can be done so that I can upload all file types, and fully migrate between the titles?
I am trying to migrate from TitleID 111 to TitleID 8BFEF.
If PlayFab can do the migration themselves, which I believe I saw in a recent forum post, that would be an acceptable solution too.
Note:
I had to modify the CLI code to get it to download and upload files in a folder structure properly. I don't think my changes would cause the issue, but here's my changes just in case:
At PlayFabMigrateTitlePackage.cs, line 383:
ContentInfo dataToDownload = _cdnData.popData(); string downloadDirectory = path + "\\" + dataToDownload.Key.Replace("/", "\\"); downloadDirectory = downloadDirectory.Substring(0, downloadDirectory.LastIndexOf("\\")); if (!Directory.Exists(downloadDirectory)) { Directory.CreateDirectory(downloadDirectory); } PlayFabService.DownloadFile(_commandArgs.FromTitleId, downloadDirectory, dataToDownload, (success, filePath, data) => { ... <rest of code base as before>,
Hi, I'm trying to use the CLI tool to migrate from one TitleID to another. However, when the tool attempts to upload any .zip file from the File Management CDN, it returns a 403 Forbidden error. Other files, such as .json, upload without issues.
How can I fix this issue, so that I can fully migrate the title?
I'm trying to migrate all data from TitleID 111 to TitleID 8BFEF.
If PlayFab can do the migration themselves, which I believe I saw referenced in a recent post, that'd be an acceptable solution too.
Note:
I had to modify the CLI tool so that it would properly upload file structures. I don't think this is tied to the error, but I thought I'd include it in case it did. In the PlayFabPowerTools, I made the following change:
In PlayFabMigrateTitlePackage.cs, line 383:
ContentInfo dataToDownload = _cdnData.popData(); string downloadDirectory = path + "\\" + dataToDownload.Key.Replace("/", "\\"); downloadDirectory = downloadDirectory.Substring(0, downloadDirectory.LastIndexOf("\\")); if (!Directory.Exists(downloadDirectory)) { Directory.CreateDirectory(downloadDirectory); } PlayFabService.DownloadFile(_commandArgs.FromTitleId, downloadDirectory, dataToDownload, (success, filePath, data) => { ....