Bulk Redirect is not following the updated Target URL

For Workers & Pages, what is the name of the domain?

nanolink.work

What is the error number?

N/A

What is the error message?

N/A

What is the issue or error you’re encountering

The Bulk Redirect Lists is updated, but the redirection doesn’t change. How long does it take to trigger the updated redirection?

What steps have you taken to resolve the issue?

Wait for the redirection for up to 1 hour.

What are the steps to reproduce the issue?

  1. Through API, update the list
  2. Verify on the dashboard that the list is updated with the new value
  3. Check the redirection, and it is still redirecting to the old redirection.
  4. Check the Trace tool, it mentions that the List is indeed being triggered, but doesn’t specify the actual domain

As an extra note, I hit many API errors at the time I encountered this issue when doing
PUT: https://api.cloudflare.com/client/v4/accounts/${env.CF_ZONE_ID}/rules/lists/${env.CF_BULK_REDIRECT_LIST_ID}/items

{
  "result": null,
  "success": false,
  "errors": [
    {
      "code": 10040,
      "message": "you have been ratelimited please wait and try again"
    }
  ],
  "messages": []
}

I did some more troubleshooting later on, and now the redirect is applied almost instantly.

How can we prevent this from happening in the future?

Add error handling to your script along with controls to ensure it doesn’t exceed the documented limits.

Thanks a lot @cscharff for jumping in.

  • I did check the limits you mentioned, I only run 1 API call in a minute CRON job in my Worker. So I would expect to be far from any rate limiting mentioned there.

  • The error 10040 is not well documented and mainly related to lists

  • The issue doesn’t seem to happen consistently (my CRON job is running fine and then for no apparent reason will start failing with 10040 )

Could it be related to some issue with Cloudflare architecture?

It’s happening again today, I don’t think that Bulk Redirects are very reliable for the time being.
Maybe others have experienced the issue?

I moved to a pure Worker solution to replace Bulk Redirect, since I was pressed by time.
I’ll leave this thread open in case some other may have similar issues.

It looks like the issue may have been found and identified.
On my end, I’ll stick with the Cloudflare Worker solution for the time being.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.