Media Picker - Error during content publish: "The selected media is from the wrong folder." Umbraco 15.3.1

“Media Picker” - Error message: “The selected media is from the wrong folder.”

Environment

  • Umbraco version: 15.3.1
  • .NET version: 9.0
  • Database: MSSQL
  • OS: Windows 10

Hello.
I have “Media Picker” field where we have media items. After updating from Umbraco 15.2.3 to 15.3.1, when I try publish content I get error: “The selected media is from the wrong folder.”. Before (in ver 15.2.3) everything was fine. Also in this content page I have two more fields with type “Media Picker” (with different media items) and I also see this error. I found that this issue exist also in another document type with Media Picker.
In one field I can have 10-20 media items, in others only one item.

Has anyone encountered this problem? I would be very grateful for an answer.

The image shows a message saying that "The selected media is from the wrong folder." (Captioned by AI)



Update
Fixed by recreating all broken data types. Сontent inside did not change. Anyway, it looks like this is Umbraco bug/issue