#Discord SKU ID errors

1 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");