Dashboard bug: can't delete tokens ("Human can't be blank")

If I try deleting a previously created token then it just says “Validation failed: Human can’t be blank”.

Not sure where to report bugs, so here it goes.

Here’s the request sent on the ws:

["6","12","lv:phx-GEIgxaOewYK-pq3S","event",{"type":"click","event":"revoke_token","value":{"token":"lJPECAAAAAAACMP2xBBTMflVDmuzlQXo/EShBa7gwrVodHRwczov...<redacted>..uYUgSzeku66oQKLXd5Z6AF8lcvfs=","value":""}}]

and the response

["6","12","lv:phx-GEIgxaOewYK-pq3S","phx_reply",{"status":"ok","response":{"diff":{"1":{"0":""},"2":{"0":""},"3":{"0":""},"5":{"0":{"p":{"0":["",""],"1":["<span"," class=\"","\"></span>"],"2":["",""],"3":["<div"," class=\"flex gap-3 items-center rounded-xl p-4 font-medium bg-navy-950/80 backdrop-blur-sm text-white shadow-lg shadow-violet-950/50 ring-1 ring-navy-300/10 animate-fadeUp\">\n  ","\n  <p>","</p>\n  <button",""," class=\"inline-flex rounded-md p-1.5 text-navy-500 hover:text-navy-200 hover:bg-navy-200/10 focus:outline-none transition\" title=\"Dismiss\" aria-label=\"Dismiss\">\n    ","\n  </button>\n</div>"]},"d":[[{"0":"","s":0}],[{"0":"","s":0}],[{"0":"","s":0}],[{"0":{"0":" id=\"flash-error\"","1":{"0":{"0":"","1":"hero-x-circle-mini h-6 w-6 text-red-500 shrink-0","s":1,"r":1},"s":2},"2":"Validation failed: Human can&#39;t be blank","3":" phx-click=\"[[&quot;push&quot;,{&quot;value&quot;:{&quot;key&quot;:&quot;error&quot;},&quot;event&quot;:&quot;lv:clear-flash&quot;}],[&quot;hide&quot;,{&quot;time&quot;:200,&quot;to&quot;:&quot;#flash-error&quot;,&quot;transition&quot;:[[&quot;transition-all&quot;,&quot;transform&quot;,&quot;ease-in&quot;,&quot;duration-200&quot;],[&quot;opacity-100&quot;,&quot;translate-y-0&quot;,&quot;sm:scale-100&quot;],[&quot;opacity-0&quot;,&quot;translate-y-4&quot;,&quot;sm:translate-y-0&quot;,&quot;sm:scale-95&quot;]]}]]\"","4":" phx-value-key=\"error\"","5":{"0":"","1":"hero-x-mark-mini w-5 h-5","s":1,"r":1},"s":3},"s":0}],[{"0":"","s":0}]]}}}}}]
1 Like

I wonder if the page is failing on a background CAPTCHA device. Do you have Enhanced Tracking Protection (or similar) enabled in Firefox?

I do. I tried turning it off and try deleting that way, it fails as well.

Hmm, fair enough. I use FF as well, ETP is left on, and I can delete org tokens fine:

Token revocation

What OS are you on?

this is an API response caused by bad data in our db, not a failing captcha or similar. send an email to billing@fly.io (this counts as account issue) and we can fix it for you.