Thank you for your answer.
I recently just deleted everything and ran my code again to create everything from scratch, and now it works again.
So I don’t know what exactly went wrong, but I am happy to say that a full restart did the trick.
Kind regards,
Birgit Bartels