question

Siddhant Bidarkar avatar image
Siddhant Bidarkar asked

Copying configuration with CLI tool is not working

The CLI tool is not working for us. It get stuck at Downloading CDN files. The error shown is: "Download error: Web Client request has failed". Can someone please help?

5 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

Hi, what's your title ID and have you set up the CDN configuration(by adding billing information)?

0 Likes 0 ·
Mayank Manjul avatar image Mayank Manjul commented ·
@SethDu

Our title id is 8FCD0 and we have set the CDN by adding billing info.

,

@SethDu Our title ID is 8FCD0 and we have set up the CDN and we have added the billing information too.

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ Mayank Manjul commented ·

May I ask are you using the CLI tools on: https://github.com/PlayFab/PlayFabCL?

The CDN files will be used when migrating data from one title to another, hence what is the source title ID and target title ID? Both of them should set up billing info.

You may also use RESTful API testing tools like Postman to test your title, here is the colletion: https://docs.microsoft.com/en-us/gaming/playfab/sdks/postman/.

In fact, what the CLI does in the part of CDN files is simply call the Admin API GetContentList to get the keys and then call GetContentDownloadUrl to retrieve download URL from the source title, after that, you may use the url to download files. Then, the upload process is firstly call GetContentUploadUrl to get upload URL to the target title, the client will use returned url for uploading.

0 Likes 0 ·
Siddhant Bidarkar avatar image Siddhant Bidarkar commented ·

Okay so the cli is able to copy configuration and everything. But when it fetches the content URL, it shows an error "An exception occurred during a WebClient request"

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ Siddhant Bidarkar commented ·

What is the ID of target title? Have you configured the billing information for target title, to which you are migrating data?

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.