When attempting to create a draft catalog item using the Unreal 5.0 SDK, via:
IPlayFabModuleInterface::Get().GetEconomyAPI()->CreateDraftItem(request,
PlayFab::UPlayFabEconomyAPI::FCreateDraftItemDelegate::CreateUObject(this, &UPlayFabBackendService::OnCreateDraftItemSuccess),
PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &UPlayFabBackendService::OnError));
, I am getting an error NotAuthorized, with an error code 1089 and http code 401. There are no other details within the error message.
I have set the developer secret key via GetMutableDefault()->DeveloperSecretKey = [key]
I have also previously made the call
PlayFab::AuthenticationModels::FGetEntityTokenRequest request;
EntityKey = MakeShareable<PlayFab::AuthenticationModels::FEntityKey>(new PlayFab::AuthenticationModels::FEntityKey());
EntityKey->Id = [title key]
EntityKey->Type = "title";
request.Entity = EntityKey;
IPlayFabModuleInterface::Get().GetAuthenticationAPI()->GetEntityToken(request,
PlayFab::UPlayFabAuthenticationAPI::FGetEntityTokenDelegate::CreateUObject(this, &UPlayFabBackendService::OnFetchEntityKeySuccess),
PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &UPlayFabBackendService::OnError));
Any suggestions on what I may be missing? Based on everything I read, this should be sufficient. I've also tried without specifying any params on the FGetEntityTokenRequest (among many, many other things)