Error message in ImagePicker

When you click on an option (ImagePicker)
Then choose Allow
This error message appears.
You chose to allow at first
Permissions are confirmed.

Please show your relevant blocks / example aia project that demonstrates this behaviour....

Are you using Android 11? The Write External Storage permission cannot be granted on Android 11.