Ok after some more investigation I found what cased this, the problem is that I used an iOS cordova application and added android to it. Then I forgot to change the variantId and secret thus registering android app on an iOS variant. UPS doesn't validate anything just that the variantId and secret are valid (leaving me unaware). Because the deviceToken on android doesn't only consist of hex we get this error.
We could solve this by validating that the deviceToken is valid for the specified platform.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Ok after some more investigation I found what cased this, the problem is that I used an iOS cordova application and added android to it. Then I forgot to change the variantId and secret thus registering android app on an iOS variant. UPS doesn't validate anything just that the variantId and secret are valid (leaving me unaware). Because the deviceToken on android doesn't only consist of hex we get this error.
We could solve this by validating that the deviceToken is valid for the specified platform.