Unknown error 10013

Error on remote worker: APIError: A request to the Cloudflare API (/accounts/3ee55606f881222ad1efb703537713b1/workers/scripts/backoffice/edge-preview) failed.

      at throwFetchError
  (/node_modules/wrangler/wrangler-dist/cli.js:122866:18)
      at fetchResult
  (/node_modules/wrangler/wrangler-dist/cli.js:122779:5)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async createPreviewToken
  (/node_modules/wrangler/wrangler-dist/cli.js:175341:29)
      at async createWorkerPreview
  (/node_modules/wrangler/wrangler-dist/cli.js:175362:17)
      at async #previewToken
  (/node_modules/wrangler/wrangler-dist/cli.js:175631:34)
      at async #onBundleComplete
  (/node_modules/wrangler/wrangler-dist/cli.js:175684:21)
      at async Mutex.runWith
  (/node_modules/wrangler/node_modules/miniflare/dist/src/index.js:3632:16)
  {
    text: 'A request to the Cloudflare API
  (/accounts/3ee55606f881222ad1efb703537713b1/workers/scripts/backoffice/edge-preview) failed.',
    notes: [ { text: 'workers.api.error.unknown [code: 10013]' } ],
    location: undefined,
    kind: 'error',
    code: 10013,
    accountTag: '3ee55606f881222ad1efb703537713b1'
  }


I am getting this error using wrangler 3.86.1 and authentificated with wrangler login

It happens when using wrangler dev --remote on a sveltekit deployed in workers with a D1 database binding

Any idea what this could mean.
Was this page helpful?