Image upload returns 404

The first day i started using images, everything worked fine
But now on image upload via url, it returns this:

ERROR 5454: Error during the fetch, code: 404, message: <!DOCTYPE html> <html>   <head>     <title>Error</title>     <style>       .container {         disp\n

And that’s it!

P.S. this is my request in node-fetch:
const uploadMediaViaURL = async (
url: string,
metadata?: object | undefined,
requireSignedURLs?: boolean | undefined,
) => {
const formData = new FormData();
formData.append(“url”, url);
formData.append(“requireSignedURLs”, (requireSignedURLs || false).toString());
if (metadata) {
formData.append(“metadata”, JSON.stringify(metadata));
const res = await fetch(${process.env.CLOUDFLARE_ACCOUNT_ID}/images/v1,
method: “POST”,
body: formData,
headers: { Authorization: Bearer ${process.env.CLOUDFLARE_API_TOKEN} },
if (res.status != 200) {
throw new Error(“Failed to upload file via url”);
const data = await res.json();
return uploadResponseSchema.parse(data);

Nothing has changed on our side, check if the resource under the url provided is available.

This topic was automatically closed after 15 days. New replies are no longer allowed.