AngusMa
CDCloudflare Developers
•Created by AngusMa on 8/3/2024 in #workers-help
Embedding worker in Notion
I’m trying to embed my worker in my Notion page, but when Notion sends a HEAD request to my worker, I’m not sure what to return to let Notion know that this URL can be embedded. Can you help me out with this?
5 replies
CDCloudflare Developers
•Created by AngusMa on 6/24/2024 in #workers-help
workers.api.error.tail_not_allowed [code: 100150]
I was trying to deploy a worker that connect to a tail worker, but wrangler gave me an error:tail_not_allowed [code: 100150]
Here is my
wrangler.toml
3 replies
CDCloudflare Developers
•Created by AngusMa on 6/20/2024 in #workers-help
Dashboard can't count Chinese characters correctly
4 replies
CDCloudflare Developers
•Created by AngusMa on 1/19/2024 in #workers-help
504 error when calling the Text-to-Image model
When I called the AI model through the ai.run function, it returned a document like the attachment
504.html
:
The AI model can be called normally by the API endpoint:
1 replies
CDCloudflare Developers
•Created by AngusMa on 12/23/2023 in #workers-help
Workers AI Error
Sometimes the Workers AI will throw a SyntaxError, but it doesn’t always fail, It usually succeeds.
Code part about Workers AI:
The error (root directory path replaced with PROJECT_DIR):
3 replies
CDCloudflare Developers
•Created by AngusMa on 12/17/2023 in #workers-help
Execute something after return
I want to use Workers AI on Discord through my bot, AI content takes a long time to generate, so I need to respond Discord first and update the result later.
Is there a way to solve it?
By the way, how do I get my account ID?
13 replies