Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-726

Can't change skin via API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • Icon: Normal Normal
    • None
    • None

      Trying to create a custom launcher for a modpack so that a player can change his skin inside the launcher.
      Using Mojang's API (http://wiki.vg/Mojang_API#Change_Skin), there is an example on how to change the skin via the API.

      The problem is: It isn't possible, the server returns a error:

      {"error":"Unauthorized","errorMessage":"The request requires user authentication"}

      or

      { "error": "Forbidden", "errorMessage": "Current IP not secured"}

      Even if I'm passing all the necessary params, including the Header "Authorization: Bearer <token>"

      Expected behaviour: Change the skin of the player

            mojangweb [Mojang] Web Team
            kerooker Leonardo Colman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: