質問者
XboxOneのNDASamples[TitleStorage]のErrorについて

質問
-
NDASamplesにあるTitle Storageにて、Global Storage項目を選択した場合に下記のChangeStorageType関数にて
titleStorage.get_quota、titleStorage.get_blob_metadataともにエラーで帰ってきており、ゲーム画面に Error「Failed getting auth token」という表示が出てくるのですが、こちらXboxOne本体に設定されているSandbox側に問題があるということでしょうか?
よろしくお願いします。
void Sample::ChangeStorageType(xbox::services::title_storage::title_storage_type type) { m_selectedStorageType = type; auto &titleStorage = m_liveResources->GetLiveContext()->title_storage_service(); // Get the Quota for the selected location titleStorage.get_quota(m_liveResources->GetServiceConfigId(), type) .then([this](xbox::services::xbox_live_result<xbox::services::title_storage::title_storage_quota> result) { if (result.err()) { std::string msg = result.err_message(); ShowNoticePopUp(L"Error", std::wstring(msg.begin(), msg.end()).c_str()); return; } auto &payload = result.payload(); m_ui->FindControl<ATG::TextLabel>(c_sampleUIPanel, c_usedBytesLabel)->SetText(std::to_wstring(payload.used_bytes()).c_str()); m_ui->FindControl<ATG::TextLabel>(c_sampleUIPanel, c_quotaBytesLabel)->SetText(std::to_wstring(payload.quota_bytes()).c_str()); }); // Also get list of blobs in the selected location titleStorage.get_blob_metadata(m_liveResources->GetServiceConfigId(), type) .then([this](xbox::services::xbox_live_result<xbox::services::title_storage::title_storage_blob_metadata_result> result) { if(result.err()) { // No need to pop up a message if it's the no blobs for error if(result.err().value() != 1008) { std::string msg = result.err_message(); ShowNoticePopUp(L"Error", std::wstring(msg.begin(), msg.end()).c_str()); } m_listView->ClearAllRows(); return; } auto &payload = result.payload(); m_currentBlobList = payload.items(); // Calls into TitleStorageRow::Update m_listView->UpdateRows(m_currentBlobList); }); m_ui->FindControl<ATG::Button>(c_sampleUIPanel, 2206)->SetEnabled(type != xbox::services::title_storage::title_storage_type::global_storage); }
すべての返信
-
byking_hayakawaさん、こんにちは。フォーラムオペレーターのHarukaです。
MSDNフォーラムにご投稿くださいましてありがとうございます。
確認したところ、この問題はXboxLive開発に関するものと思われます。
英語とはなりますが米国のフォーラム(https://social.msdn.microsoft.com/Forums/en-US/home?forum=xboxlivedev)に投稿いただくことをお勧めします。どうぞよろしくお願いします。
MSDN/ TechNet Community Support Haruka
ご協力くださいますようお願いいたします。また、MSDNサポートに賛辞や苦情がある場合は、MSDNFSF@microsoft.comまでお気軽にお問い合わせください。~- 回答としてマーク byking_hayakawa 2019年8月15日 2:02
- 回答としてマークされていない byking_hayakawa 2019年8月15日 2:02