Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by gdelomier · Apr 30, 2019 at 12:30 PM · Authentication

Error XboxXASSExchangeFailure: 1306 with XboxOne Authentification

Hi,

I'm trying to send a request to connect my user to playfab but when i send it, i receive ther error 400:

XboxXASSExchangeFailure. It's not really helping so i can't see why is it happening, expetially because it was working the last week.

I have already setup single sign-on parameters with the Partner Center. I have also check my xboxlive Token, try two user test accounts on two sandboxes and try to send my token whitout the user identification part.

Can someone tell me if i can have more information about why it fail? here is my code but like i said, it worked fine before and the same code work fine on switch and PS4

public class CallRequestContainer
{
public HttpRequestState HttpState = HttpRequestState.Idle;
public System.Net.HttpWebRequest HttpRequest = null;

// This class stores the state of the request and all associated data
public string ApiEndpoint = null;
public string FullUrl = null;
public byte[] Payload = null;
public string JsonResponse = null;
public PlayFabRequestCommon ApiRequest;
public Dictionary<string, string> RequestHeaders;
public PlayFabResultCommon ApiResult;
public PlayFabError Error;
public Action DeserializeResultJson;
public Action InvokeSuccessCallback;
public Action<PlayFabError> ErrorCallback;
public object CustomData = null;

public CallRequestContainer()
{
}
}

private IEnumerator Post(CallRequestContainer reqContainer)
{

var www = new UnityWebRequest(reqContainer.FullUrl)
{
uploadHandler = new UploadHandlerRaw(reqContainer.Payload),
downloadHandler = new DownloadHandlerBuffer(),
method = "POST"
};

foreach (var headerPair in reqContainer.RequestHeaders)
{
if (!string.IsNullOrEmpty(headerPair.Key) && !string.IsNullOrEmpty(headerPair.Value))
www.SetRequestHeader(headerPair.Key, headerPair.Value);
else
Debug.LogWarning("Null header: " + headerPair.Key + " = " + headerPair.Value);
}

yield return www.SendWebRequest();

}

Comment

People who like this

0 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SethDu ♦ · May 01, 2019 at 09:41 AM 0
Share

What's your title ID?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Unable to call Send Account Recovery from Unity SDK 3 Answers

    LoginWithApple returning NotAuthorized 1 Answer

    400 Error - ServiceUnavailable, but only on Xbox 1 Answer

    Calling AddOrUpdateContactEmail() after PlayFabClientAPI.LoginWithApple() has no reaction? 1 Answer

    No callbacks from LoginWithAndroidDeviceID? 5 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges