0

API Token should be case-insensitive

I just set up a new remote collector over the phone with a field technician. We kept getting "Invalid API Token" errors in the message log. After verbally confirming the token several times I asked for a picture and noticed they typed hex A-F as upper-case. Changing these to lower-case fixed the issue. If the API tokens follow RFC 4122 for UUIDs then they should be case-insensitive and stored as the standard preferred lower-case.

2 replies

null
    • smason
    • 9 days ago
    • Reported - view

    Hi  ,

    Thanks for the feedback. API tokens (not UUIDs) are typically case-sensitive which is why it behaves the way that it does. We added a work item to force letters to lower case if they're inputting them into the admin. We'll also improve the messaging within the message log.

      • lane_olsen
      • 2 days ago
      • Reported - view

       Thanks Steve. Hopefully this helps someone avoid making the same silly mistake I did!

Content aside

print this pagePrint this page
  • 2 days agoLast active
  • 2Replies
  • 54Views
  • 3 Following