This may be a simple one, but I can see in the code you’ve provided you’ve used src={p.image.data.attributes.url} and not src={p.thumbnail.data.attributes.url}
The response is saying it cannot find the key you’re querying on the key you’re looking for it on. This would gracefully be handled if you had typescript support in your project with src={p.image?.data?.attributes?.url}, but I imagine you’re passing the unpopulated image in rather than a populated thumbnail