You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
After I configured triggers.crons in the wrangler.toml, wrangler publish failed with the messages below:
✨ Build completed successfully!
Error: Something went wrong with the request to Cloudflare...
Could not route to /accounts/workers/scripts/***/schedules, perhaps your object identifier is invalid? [API code: 7003]
No route for that URI [API code: 7000]
Note that :account_id is missing in the API URL.
I went through the code and discovered that account_id is not loaded when constructing the DeployTarget::Schedule.
🐛 Bug report
Describe the bug
After I configured
triggers.crons
in the wrangler.toml,wrangler publish
failed with the messages below:Note that
:account_id
is missing in the API URL.I went through the code and discovered that
account_id
is not loaded when constructing theDeployTarget::Schedule
.https://github.com/cloudflare/wrangler/blob/d2f49e2d800c72160963952314f35ac0e72644f3/src/settings/toml/manifest.rs#L277
Reproduce the bug
A list of steps to reproduce the bug.
triggers.crons = ["*/5 * * * *"]
to the wrangler.toml.wrangler publish
without anyCF_*
environment variables.Expected behavior
Cron triggers are configured without errors.
Environment and versions
Fill out the following information about your environment.
wrangler -V
: wrangler 1.19.0node -v
: v16.6.1wrangler.toml
:The text was updated successfully, but these errors were encountered: