if you use the same id it would use the same namespace if thats what you mean
if you use the same id it would use the same namespace if thats what you mean
namespace_id = "stores/[user-id]/1"/workers/traces/4ee25b110c9748fd9344790259c7ce73 I get 200 OK with empty body.https://api.cloudflare.com/client/v4/accounts/[account_id]/workers/tracesimport { platformThing } from "./platform_module.mjs";[[dispatch_namespaces]] in TOML maps to an array of these objects in JSON:[wrangler:err] SyntaxError: "undefined" is not valid JSON{
"result": null,
"success": false,
"errors": [
{
"code": 10108,
"message": "workers.api.error.trace_not_found"
}
],
"messages": []
}< HTTP/2 404
< date: Wed, 08 May 2024 11:00:15 GMT
< content-type: application/json; charset=UTF-8
< cf-ray: 8808f1e77d9e7d95-TLV
< cf-cache-status: DYNAMIC
< set-cookie: __cflb=0H28vgHxwvgAQtjUGU4yFBDJQfw1pfzuRDHHrrfFEmB; SameSite=Lax; path=/; expires=Wed, 08-May-24 13:30:16 GMT; HttpOnly
< vary: Accept-Encoding
< set-cookie: __cfruid=3fd212d653c86dd50df497588a24bf4403b8069c-1715166015; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
< server: cloudflare
<
{
"result": null,
"success": false,
"errors": [
{
"code": 10108,
"message": "workers.api.error.trace_not_found"
}
],
"messages": []
}
* Connection #0 to host api.cloudflare.com left intact{
type: "dispatch_namespace";
name: string;
namespace: string;
outbound?: {
worker: {
service: string;
environment?: string;
};
params?: { name: string }[];
};
};[wrangler:err] SyntaxError: "undefined" is not valid JSON