Skip to main content
Question

Scheduler job creation failing

  • April 15, 2026
  • 0 replies
  • 1 view

Hello! I am working on developing an application using an Outlook subscription. For the subscription to function correctly, I need to schedule a job that runs every six hours to renew it.
However, even though my application is active, the scheduled job for creating the subscription is failing, and I am receiving an error message: “Request failed with status code 400, Bad Request.”

mapps scheduler:create -a 11098366 -s "0 */6 * * *" -e "renew-outlook" -n "renew-outlook-job" -d "Renews Outlook Graph subscriptions every 6 hours." -r 3 -z us, and similar commands do not work. I have tried all the possible combinations of passing or omitting arguments, but none of these work. (Omitting -r, -z, -d, passing -b, -t etc...)

>mapps scheduler:create -a 11098366 -s "0 */6 * * *" -e "renew-outlook" -n "renew-outlook-job" -d "Renews Outlook Graph subscriptions every 6 hours." -r 3 -z us --verbose
[13:19:31.895] DEBUG: * Domain: https://monday-apps-ms.monday.com *
? Minimum backoff duration in seconds between retries (optional) (node:18460) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
? Minimum backoff duration in seconds between retries (optional) 60
? Job execution timeout in seconds (optional) 60
[13:19:42.911] DEBUG: Creating scheduler job for appId: 1...6
[13:19:44.448] DEBUG: έΦΝέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΡ
  έΦΓ ErrorTraceId: ee85e95f6b1abbd1a0b6c2ed1c2b6a88 έΦΓ
  έΦΦέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦΑέΦα
[13:19:44.449] ERROR: Request failed with status code 400 - Bad Request - ERR_BAD_REQUEST
[13:19:44.450] ERROR: Invalid request
[13:19:44.450] ERROR: Invalid request
    err: {
      "type": "Error",
      "message": "Invalid request",
      "stack":
          Error: Invalid request
              at handleHttpErrors (file:///C:/Users/.../AppData/Roaming/npm/node_modules/@mondaycom/apps-cli/dist/services/scheduler-service.utils.js:52:19)
              at Object.createJob (file:///C:/Users/.../AppData/Roaming/npm/node_modules/@mondaycom/apps-cli/dist/services/scheduler-service.js:42:13)
              at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
              at async SchedulerCreate.run (file:///C:/Users/.../AppData/Roaming/npm/node_modules/@mondaycom/apps-cli/dist/commands/scheduler/create.js:58:21)
              at async SchedulerCreate._run (C:\Users\...\AppData\Roaming\npm\node_modules\@mondaycom\apps-cli\node_modules\@oclif\core\lib\command.js:311:22)
              at async Config.runCommand (C:\Users\...\AppData\Roaming\npm\node_modules\@mondaycom\apps-cli\node_modules\@oclif\core\lib\config\config.js:433:25)
              at async Object.run (C:\Users\...\AppData\Roaming\npm\node_modules\@mondaycom\apps-cli\node_modules\@oclif\core\lib\main.js:92:16)
    }