I was struggling for a while with this board. It works when powered up from the power wall, however when there is a soft reset (for any reason), the init results gives an error 0x105. Mostly forum solutions point to a power supply issue (i.e. having a high quality power plug).
I run through a link (esp32-cam module - error 0x105 · arendst/Tasmota · Discussion #18492 · GitHub) where someone states that the camera makes a soft reset during init and that the power is controlled by GPIO32.
So I simply added in my script the following:
pinMode(32, OUTPUT);
digitalWrite(32, LOW);
delay(1000);
digitalWrite(32, HIGH);
delay(500);
just before
err = esp_camera_init(&config);
The init is succesful ever since. Maybe this helps others with the same issue and I would appreciate your feed back if you might be able to solve your similar issue in this way.