ItsWendell
05/26/2023, 12:11 PMSkye
05/26/2023, 12:15 PMItsWendell
05/26/2023, 12:19 PM[placement] mode = "off"
gives me workers.api.error.unknown [code: 10013]
. Turning off smart placement in the dashboard also gives me An unknown error occured. (Code: 10013)
ItsWendell
05/26/2023, 12:21 PMSkye
05/26/2023, 12:21 PMSkye
05/26/2023, 12:21 PMItsWendell
05/26/2023, 12:21 PM7f80802cc22f5b5cc65331d4e2523f79
- api-service-prodVero 🐙
05/26/2023, 12:23 PMItsWendell
05/26/2023, 12:39 PMVero 🐙
05/26/2023, 1:00 PMItsWendell
05/26/2023, 1:05 PMscheduled
function exported (for once we start using cron triggers), but even after commenting it out and re-deploying same issue occurs.
https://cdn.discordapp.com/attachments/1111627637912244254/1111641217109864478/image.png▾
ItsWendell
05/26/2023, 1:10 PMVero 🐙
05/26/2023, 1:25 PMVero 🐙
05/26/2023, 1:26 PMItsWendell
05/26/2023, 1:28 PM[placement]
mode = "smart"
[triggers]
crons = []
In my wrangler.tomlmhart
05/26/2023, 1:35 PMcrons
when it should be cron
. Try cron = []
mhart
05/26/2023, 1:42 PMmhart
05/26/2023, 1:47 PMcrons
. Our docs need updating!ItsWendell
05/26/2023, 2:21 PMmhart
05/26/2023, 2:26 PMmhart
05/26/2023, 2:26 PMItsWendell
05/26/2023, 2:32 PM[placement]
mode = "off"
[triggers]
crons = []
is giving me workers.api.error.unknown [code: 10013]
mhart
05/26/2023, 2:32 PMmhart
05/26/2023, 2:33 PMmode = "smart"
ItsWendell
05/26/2023, 2:34 PM[placement]
mode = "smart"
[triggers]
crons = []
is giving me workers.api.error.placement_and_triggers_configured [code: 100150]
mhart
05/26/2023, 2:34 PMmhart
05/26/2023, 2:34 PMmhart
05/26/2023, 2:34 PMmhart
05/26/2023, 2:34 PMItsWendell
05/26/2023, 2:34 PMItsWendell
05/26/2023, 2:36 PMmhart
05/26/2023, 2:40 PMItsWendell
05/26/2023, 3:09 PMmhart
05/26/2023, 4:04 PMmhart
05/26/2023, 4:05 PMcurl --request PUT \
--url https://api.cloudflare.com/client/v4/accounts/7f80802cc22f5b5cc65331d4e2523f79/workers/scripts/api-service-prod/schedules \
--header 'Content-Type: application/json' \
--header 'X-Auth-Email: ' \
--data '[]'
mhart
05/26/2023, 4:05 PMmhart
05/26/2023, 4:07 PMmhart
05/26/2023, 4:09 PMX-Auth-Email: 123
, X-Auth-Key: 123
, or Authorization: Bearer 123
– depending on what sort of token you havemhart
05/26/2023, 4:10 PMItsWendell
05/26/2023, 4:53 PMcurl --request PUT \
--url https://api.cloudflare.com/client/v4/accounts/7f80802cc22f5b5cc65331d4e2523f79/workers/scripts/api-service-prod/schedules \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer XXX' \
--data '[]'
{
"result": {
"schedules": []
},
"success": true,
"errors": [],
"messages": []
}
ItsWendell
05/26/2023, 4:54 PMworkers.api.error.placement_and_triggers_configured [code: 100150]
ItsWendell
05/26/2023, 4:55 PM{
"result": {
"schedules": []
},
"success": true,
"errors": [],
"messages": []
}
ItsWendell
05/26/2023, 5:19 PMmhart
05/26/2023, 5:22 PMmhart
05/26/2023, 5:22 PMscheduled
handler btw?mhart
05/26/2023, 5:24 PMItsWendell
05/26/2023, 5:24 PMmhart
05/26/2023, 5:31 PMscheduled
handler. And the reason you can't turn it off is because there are some complications with smart placement and queues specifically.ItsWendell
05/26/2023, 6:19 PMItsWendell
05/26/2023, 8:20 PMworkers.api.error.placement_and_triggers_configured [code: 100150]
mhart
05/26/2023, 8:27 PMmhart
05/26/2023, 9:09 PMmhart
05/26/2023, 9:09 PMmhart
05/26/2023, 9:09 PMmhart
05/26/2023, 9:10 PMItsWendell
05/26/2023, 9:12 PMmhart
05/26/2023, 9:12 PMItsWendell
05/26/2023, 9:13 PMmhart
05/26/2023, 9:17 PM