cr-api-ux icon indicating copy to clipboard operation
cr-api-ux copied to clipboard

Tags shorter than 3 characters return the wrong error message

Open fourjr opened this issue 6 years ago • 2 comments

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:

  1. Go to https://royaleapi.com
  2. Type any character that is in the allowed characters for a tag (type at most 2 characters)
  3. Press search
  4. See error

Expected behavior An error message detailing that tags have to be longer than 3 characters

Screenshots img

Smartphone:

  • Device: Galaxy S8
  • OS: Android 8.0.0
  • Browser: Stock Samsung Internet
  • Version: 7.4.0.700

fourjr avatar Oct 16 '18 22:10 fourjr

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"

6Sean avatar Feb 28 '19 21:02 6Sean

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...

6Sean avatar Feb 28 '19 21:02 6Sean