The bug
The skin API incorrectly states that the allowed image dimension is 64 * 32 pixels even though 64 * 64 pixels images are valid as well.
{"error":"IllegalArgumentException","errorMessage":"Dimensions are not valid. Dimensions have to be 64 x 32 px"}