cr-api-ux
cr-api-ux copied to clipboard
Tags shorter than 3 characters return the wrong error message
Describe the bug If you try to enter tags shorter than 3 characters in the Player/Clan Tag field, it shows the wrong error message.
To Reproduce Steps to reproduce the behavior:
- Go to https://royaleapi.com
- Type any character that is in the allowed characters for a tag (type at most 2 characters)
- Press search
- See error
Expected behavior An error message detailing that tags have to be longer than 3 characters
Screenshots
Smartphone:
- Device: Galaxy S8
- OS: Android 8.0.0
- Browser: Stock Samsung Internet
- Version: 7.4.0.700
I'm not sure that there are tags with less than 3 characters - @smlbiobot can you confirm that? ^ Ignore this, I'm dumb.
Flagging as a low priority bug.
- [ ] Amend error message to the following: "Player tags are 3 characters or longer and only contain the numbers 0289 and the letters CGJLPQRUVY"
Sorry, actually @fourjr you would probably know as well... are there actually two character profiles?
EDIT: READING COMPREHENSION 101. MY BAD.
Adjusted my message above with a check mark. Moving on...