#Discord SKU ID errors

18 messages · Page 1 of 1 (latest)

elder lichen
#

Not sure if this is DJS-related enough but since today I am getting the following error:
components[1].components[0].sku_id[BUTTON_COMPONENT_INVALID_APPLICATION]: The application for this SKU does not exists or does not match the message author
The SKU ID is 1164974692889808999, which exists under the bot running the code.
Code is as follows:

const subscriptionButton = new ButtonBuilder()
        .setStyle(ButtonStyle.Premium)
        .setSKUId("1164974692889808999");
pearl rainBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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 OP
split garnet
#

LOL thanks for reposting skaidus 😭 could have just asked me to repost it here though

#

idk if reposting like this is even allowed but we'll see.
it's a repost of #djs-help-v14 message

rugged marsh
#

Generally we prefer you don't crosspost as mentioned in #rules 4, but I see the question was left slightly open ended, so I suppose you're free to continue discussing it here
However I personally feel it's probably better not to repost someone else's question for them (especially without even asking) since it prevents them from marking the post as solved when they're done

split garnet
#

Can replicate this issue running the same code on a different bot account with different SKUs

night sundial
#

I'm getting the same issues

gusty herald
#

sounds like an API issue then, #useful-servers ddevs would be the place for that

split garnet
#

This issue seems to happen when deferring a command that is replying with premium buttons.
For people in a similar situation, someone made this #1356518883388948510 thread in the ddevs.
Not sure if this is an API issue or a D.JS bug.

velvet iron
#

This issue seems to happen when deferring a command that is replying with premium buttons.
I can reproduce that. It's fine without deferring

#

There's no issue on GitHub about this. I recommend you make one @split garnet

split garnet
#

On the api discord or djs?

#

oh i see you edited in the link

velvet iron
#

Discord!

split garnet
velvet iron
#

I first noticed this in the morning of april first.
Love to see it

split garnet
#

yeah. was making an april first feature and instead i got trolled all day.

lean spire
#

+1, this is happening to my bot as well. I was able to workaround this by just not deferring that one specific command that has a premium button attached. Until discord puts out a permanent fix