ExpectedValidatorError on showModal()

When attempting to respond to an interaction via interaction.showModal(), the following error appears:
CombinedPropertyError (1)
  Received one or more errors

  input[0]
  | ExpectedValidationError > s.instance(V)
  |   Expected
  |
  |   Expected:
  |   | [Function: ActionRowBuilder]
  |
  |   Received:
  |   | { data: [Object], components: [Object] }

    at _ArrayValidator.handle (D:\code\javascript\discordBots\schedulingBot\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:1205:70)
    at _ArrayValidator.parse (D:\code\javascript\discordBots\schedulingBot\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:90)
    at validateRequiredParameters (D:\code\javascript\discordBots\schedulingBot\node_modules\@discordjs\builders\dist\index.js:1478:23)
    at ModalBuilder (D:\code\javascript\discordBots\schedulingBot\node_modules\@discordjs\builders\dist\index.js:1548:5)
    at Command_Schedule.replyCreate (file:///D:/code/javascript/discordBots/schedulingBot/build/discordServer/commands/commands/Command_Schedules.js:94:81)
    at Command_Schedule.reply (file:///D:/code/javascript/discordBots/schedulingBot/build/discordServer/commands/commands/Command_Schedules.js:61:40)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async DiscordClient.onInteractionCreate (file:///D:/code/javascript/discordBots/schedulingBot/build/discordServer/DiscordClient.js:37:34)
Was this page helpful?