Skip to content

403 status code (no body) #21

Description

@DennisFaucher

Installed on MacOS
Connected my CF account and API key
Asked to use the Kimi 2.7 Code model
Sent a simple prompt
Recieved a 403 status code (no body)

Console:

[wrangler:info] Ready on http://localhost:8787
[wrangler:info] GET / 200 OK (22ms)
[wrangler:info] GET /assets/index-BHFLB6ix.js 200 OK (6ms)
[wrangler:info] GET /assets/index-CAyytQxA.css 200 OK (36ms)
[wrangler:info] GET /api 101 Switching Protocols (6ms)
[undefined] {
component: 'workshop.formats',
event: 'formats.install.ok',
blueprintId: 'format.document',
message: 'installed format blueprint'
}
[undefined] {
component: 'workshop.formats',
event: 'formats.install.ok',
blueprintId: 'format.spreadsheet',
message: 'installed format blueprint'
}
[undefined] {
component: 'workshop.formats',
event: 'formats.install.ok',
blueprintId: 'format.slides',
message: 'installed format blueprint'
}
[undefined] {
component: 'workshop.admin.settings',
event: 'formats.install.complete',
size: 3,
failureCount: 0,
message: 'installed bundled format blueprints'
}
[wrangler:info] GET /assets/index-Cv_v2SAi.js 200 OK (22ms)
[wrangler:info] GET /favicon.svg 200 OK (15ms)
[wrangler:info] GET /assets/signup-CJFBXXsc.js 200 OK (7ms)
[wrangler:info] GET /assets/index.esm-CgNExnv6.js 200 OK (10ms)
[wrangler:info] GET / 304 Not Modified (6ms)
[wrangler:info] GET /assets/index-BHFLB6ix.js 304 Not Modified (6ms)
[wrangler:info] GET /assets/index-CAyytQxA.css 304 Not Modified (9ms)
[wrangler:info] GET /api 101 Switching Protocols (5ms)
[wrangler:info] GET /assets/index-Cv_v2SAi.js 304 Not Modified (4ms)
▲ [WARNING] {

component: 'workshop.feature-flags',
event: 'feature-flags.binding.missing',
operation: 'feature-flags.resolve',
message: 'Flagship binding missing; using default values'

}

[undefined] {
component: 'workshop.user',
event: 'account.connect.started',
vendorId: 'google',
accountId: 0,
message: 'account connect started'
}
[wrangler:info] GET /gatekeeper/google/d92408e87a3d22879373d232f53660498bc63b9a3699f327577bc1c74655a5f8/5ec2fb1df5b8fd1acefbeab3a5c678b0040124df2d921e501cb0aaef7c5de356 200 OK (3ms)
[wrangler:info] GET /favicon.ico 200 OK (4ms) Sec-Fetch-Mode: navigate header present - using not_found_handling behavior
[undefined] {
operation: 'agent.run',
gadgetId: 'cab027994addfb2cdc5ae1a534a46002c081f634423dd2d68b1a42e820a02d10',
chatId: 0,
modelId: '@cf/moonshotai/kimi-k2.7-code',
component: 'workshop.overseer',
event: 'agent.run.started',
callbackInitiated: false,
message: 'agent run started'
}
[wrangler:info] GET /assets/EmptyState-D9GWJnDu.js 200 OK (65ms)
[wrangler:info] GET /assets/workspace-CUCLtwDR.css 200 OK (66ms)
[wrangler:info] GET /assets/workspace._id-Z7De3-LM.js 200 OK (69ms)
[wrangler:info] GET /assets/fileTransfers-C1qJ1EgH.js 200 OK (67ms)
[wrangler:info] GET /assets/Lock.es-1CfPx_RV.js 200 OK (66ms)
✘ [ERROR] {

operation: 'agent.run',
gadgetId: 'cab027994addfb2cdc5ae1a534a46002c081f634423dd2d68b1a42e820a02d10',
chatId: 0,
modelId: '@cf/moonshotai/kimi-k2.7-code',
component: 'workshop.overseer',
event: 'agent.run.failed',
statusCode: 403,
error: 'Error: 403 status code (no body)',
errorStack: 'Error: 403 status code (no body)\n' +
  '    at runAgent

(file:///Users/faucherd/Downloads/cloudflare-os/packages/workshop-backend/.wrangler/validate/src/agent.ts:3072:11)\n'
+
' at async #runAgentTurnWithContext
(file:///Users/faucherd/Downloads/cloudflare-os/packages/workshop-backend/.wrangler/validate/src/overseer.ts:4238:29)',
message: 'runAgent failed'
}

[undefined] {
operation: 'agent.run',
gadgetId: 'cab027994addfb2cdc5ae1a534a46002c081f634423dd2d68b1a42e820a02d10',
chatId: 0,
modelId: '@cf/moonshotai/kimi-k2.7-code',
component: 'workshop.overseer',
event: 'agent.run.finished',
outcome: 'error',
durationMs: 842,
message: 'agent run finished'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions