Custom managed component error: Bad Request

Custom managed component error: Bad Request: validation error: json: cannot unmarshal string into Go struct field Worker.tools.worker.accountId of type int
5 Replies
Mackenly
Mackenly5mo ago
Hi, I am having an issue deploying a custom mc. I have it deployed to a worker and can select it but run into the following issues: 1. Permissions doesn't seem to follow my manifest (first screenshot). 2. Setup seems to reference Facebook events? (second screenshot) 3. When I press save I get the following error:
{
"status": 400,
"body": {
"result": null,
"success": false,
"errors": [
{
"code": 400,
"message": "Bad Request: validation error: json: cannot unmarshal string into Go struct field Worker.tools.worker.accountId of type int"
}
],
"messages": []
}
}
{
"status": 400,
"body": {
"result": null,
"success": false,
"errors": [
{
"code": 400,
"message": "Bad Request: validation error: json: cannot unmarshal string into Go struct field Worker.tools.worker.accountId of type int"
}
],
"messages": []
}
}
No description
No description
Mackenly
Mackenly5mo ago
Also opened issue on managed-component-to-cloudflare-worker due to spawn errors (manually set the worker up for now): https://github.com/cloudflare/managed-component-to-cloudflare-worker/issues/12
GitHub
Error: spawn npx ENOENT · Issue #12 · cloudflare/managed-component-...
Error: spawn npx ENOENT is thrown when attempting to run the script. version: 1.5.1 Windows 11 Tried PowerShell, WSL, and CMD in regular and administrator modes Tried saying I do need KV and that I...
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Mackenly
Mackenly5mo ago
@ruskin #3 does seem to be working as expected now, but #1 and #2 remain the same. It could be a misunderstanding on my part of the expected behavior of zaraz custom MCs though. Still, I wouldn't expect to see facebook things even if zaraz ignores manifests.
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts