Troubleshooting Cloudflare 10XXX errors
This error occurs when there are duplicate list items in a single operation to add items to a List (either an IP list or a Bulk Redirect List).
This error can happen when you:
- Add a repeated IP address to an IP list
- Add a repeated source URL to a Bulk Redirect List
Remove the duplicate item and try again.
This error occurs when the source URL value of a URL redirect is too long. The maximum length of a source URL is 32,768 characters.
Use a shorter URL as the source URL.
This error occurs when the target URL value of a URL redirect is too long. The maximum length of a target URL is 32,768 characters.
Use a shorter URL as the target URL.
This error occurs when you specify a source URL of a URL redirect that is not a valid URL.
Specify a valid URL as the source URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when you specify a target URL of a URL redirect that is not a valid URL.
Specify a valid URL as the target URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect target URLs.
This error occurs when you specify a URL redirect status code that is not supported.
Use one of the supported status codes in the URL redirect: 301
, 302
, 307
, or 308
.
This error occurs when you enable the Preserve path suffix option in a redirect without enabling the Subpath matching option.
The Preserve path suffix option of a URL redirect is only applicable when the Subpath matching option is also enabled.
Enable Subpath matching for the URL redirect with Preserve path suffix enabled.
This error occurs when the source URL of a URL redirect has an invalid scheme.
Resolution
Review the source URL and ensure that it uses one of the supported schemes: http
, https
, or empty (no scheme information, which means that it applies to both schemes).
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when the source URL of a URL redirect includes a user info component (for example, https://user:password@example.com
), which is not supported.
Remove the user info component from the redirect source URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when the source URL of a URL redirect does not include an authority component (for example, http:///path
, without a hostname), which is mandatory.
Add an authority component to the redirect source URL (for example, include a hostname).
Refer to Supported URL components in Bulk Redirects for details on the required URL components for redirect source URLs.
This error occurs when the source URL of a URL redirect includes a port (for example, https://example.com:8081
), which is not supported.
Remove the port from the redirect source URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when the source URL of a URL redirect includes a query string component, which is not supported.
Remove the query string from the redirect source URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when the source URL of a URL redirect includes a fragment component (for example, https://example.com/search/#fragment
).
Fragment components are not part of an HTTP request; they are an indication for the browser to scroll to a specific location once the page has loaded.
Remove the fragment from the redirect source URL.
Refer to Supported URL components in Bulk Redirects for details on the supported URL components for redirect source URLs.
This error occurs when you enable the Preserve query string option of a URL redirect, but also provide a query string in the redirect target URL. In this case, the URL redirect would have conflicting configuration on how to handle the query string of incoming requests.
Perform one of the following:
- Disable the Preserve query string option in the URL redirect
- Remove the query string component from the redirect target URL
This error occurs when there are different types of list items (for example, IP addresses, hostnames, and URL redirects) in a single operation to add items to a list. The error may occur for an IP list, a hostname list, or a Bulk Redirect List.
Remove the list items that do not apply to the list type. This means:
- Removing IP addresses from a request to add items to a Bulk Redirect List
- Removing URL redirects from a request to add items to an IP list
This error occurs when you are adding items to a list (either IP list, hostname list, or Bulk Redirect List) and the list items are incompatible with the list type.
Make sure you are adding the items to the correct list:
- Custom lists with IP addresses (IP lists) can only contain IP addresses as list items
- Custom lists with hostnames can only contain hostnames as list items
- Bulk Redirect Lists can only contain URL redirects as list items
This error occurs when you have more than the maximum number of URL redirects with the same source URL path across all Bulk Redirect Lists in your account, regardless of the URL redirect domain.
Review the path of your source URLs so that you do not have more than the maximum number of URL redirects sharing the same URL path in your account, regardless of their domain or the list they belong to.
Refer to URL redirect parameters for more information on the current limits.
This error occurs when the target URL of a URL redirect does not include a scheme, which is mandatory.
Review the target URL of the URL redirect and ensure that it contains a scheme (for example, https
).
Refer to Supported URL components in Bulk Redirects for details on the required URL components for redirect target URLs.