Interaction failed

I want a application bot in modals and select menu which type application to select but a problem with interaction failed
Repl link:

code snippet

Iā€™m assuming this is Python from your most recent repls. Change the category to Node JS if you need to.
In future please complete the template fields and send a link to your repl or a minimal repl which reproduces the issue. Which modal is failing? And what behaviour do you expect? Are there any errors in Console? (you can copy a selection from the console using Ctrlinsert)