Sitecore headless Error: Invalid src prop on `next/image`, hostname is not configured under images in your `next.config.js`
The Problem While trying to render an Image field in next js app, I got the below error on - The Solution To fix this, navigate to next.config.js in your next js app in VS Code and add the following entry in highlighted area in snapshot - { protocol: 'https', hostname: '<your hostname here>', port: '', }, Hope it helps you!