using strapi v4 media uploader trying to get existing files getting a fileList error
when I use strapi media uploader and there is an existing file when I load my edit page I get the following error:

Note: you can ask me a follow up question by @ mentioning me againNote: you can ask me a follow up question by @ mentioning me againNote: you can ask me a follow up question by @ mentioning me againfileListfileListfileListfileListnormalizenormalizenormalizenormalizeForm.ItemForm.ItemnormalizeFilenormalizeFilenormalizeFilenormalizeFile<Form.Item
name="images"
valuePropName="fileList"
normalize={normalizeFile}
noStyle
>
<Upload.Dragger
name="file"
listType="picture"
multiple
// ... other props
>
<p className="ant-upload-text">
Drag & drop a file in this area
</p>
</Upload.Dragger>
</Form.Item>export const normalizeFile = (event) => {
const { fileList } = event;
return fileList.map((item) => {
const { uid, name, type, size, response, percent, status } = item;
return {
uid,
name,
url: item.url || response?.url,
type,
size,
percent,
status,
};
});
};import { Form, Upload } from "antd";
<Form.Item
name="images"
valuePropName="fileList"
normalize={normalizeFile}
noStyle
>
<Upload.Dragger
name="file"
listType="picture"
multiple
// ... other props
>
<p className="ant-upload-text">
Drag & drop a file in this area
</p>
</Upload.Dragger>
</Form.Item>const normalizeFile = (fileList) => {
return fileList.map((item) => {
const { uid, name, type, size, response, percent, status } = item;
return {
uid,
name,
url: item.url || response?.url,
type,
size,
percent,
status,
};
});
};