Without seeing the stacktrace I would guess the shape mismatch is raised by the shortcut addition.
Based on the error message I would suggest to check the setup of the shortcut layer and make sure the spatial size of its output activation is equal to the activation coming from the main branch of the model.