For our website iamsterdam.com (team: iamsterdam) we use NextJS which uses IPX on Netlify (automatically) to resize and cache images. For the most part this works, but for some images we get the error: IPX Error: TypeError: unsupported file type: undefined (file: undefined)
. This only happens with these images on netlify, locally it works just fine, but then it’s using nextjs’s image resize and cache (/_next/image?url=...
).
Example for image with this error: https://www.iamsterdam.com/_ipx/w_3840,q_75/https%3A%2F%2Fapp.thefeedfactory.nl%2Fapi%2Fassets%2F63d7ade92b50291e1f8f2158%2Fpitch-deck-training.jpg?url=https%3A%2F%2Fapp.thefeedfactory.nl%2Fapi%2Fassets%2F63d7ade92b50291e1f8f2158%2Fpitch-deck-training.jpg&w=3840&q=75
The original image seems to be fine: https://app.thefeedfactory.nl/api/assets/63d7ade92b50291e1f8f2158/pitch-deck-training.jpg
What does this error mean and how would I resolve it?