"Invalid Form Body" when using sendPremiumRequired()
Hi all, I'm having a weird issue here. I have monetization and whatnot fully set up on my bot, including a working storefront that's available from my bot's page. I'm testing out things right now, but for some reason whenever I try to run
sendPremiumRequired()
on a command interaction, it gives me an error saying that the message type is invalid
Full error:
I have everything set up correctly as far as I can tell, it just doesn't work when I try to do this. Am I missing something or are others having this issue?
EDIT: version info:
d.js: [email protected]
node: v18.17.1
5 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPwell thats discord side error
that's what i thought, but i wasn't certain if it was straight from discord or if it was something from the rest package 😔
Error to commands for choices
this does still happen but i figured out the issue 😅
trying to send an upgrade message to someone who's already subscribed fails and gives this error