locked
Xbox Live leaderboard in UWP game returns with error 404 RRS feed

  • Question

  • When trying to retrieve a leaderboard from Xbox Live, the stat event type get_leaderboard_complete returns the error code 404. I'm using Xbox Live in a UWP game in the Creators Program.

    However, I'm am able to set and retrieve the stat for the user. Because I'm able to set and retrieve the stat without issue, I wonder if maybe it's an issue with the Xbox Live backend? 

    Some code examples and more info are on my stack overflow question.
    Monday, September 11, 2017 7:16 PM

Answers

  • After a couple days of banging my head on this, I discovered a solution:

    1. Create a new stat/leaderboard in Dev Center.
    2. Press the “Test” button. This is important because it publishes the service configuration.

    I’m unsure why the original stat didn’t work. Perhaps because I used the word “score” as the statID. At least I have a workaround now.
    • Marked as answer by Rusty Moyher Wednesday, September 13, 2017 6:31 PM
    Wednesday, September 13, 2017 6:31 PM