You’re missing telling us what the error is.
Meantime, based on behaviour described, see this recent post