"Forbidden" when uploading file to external storage

I’ve recently deployed Nextcloud on my server and enabled external storage.

I’ve mounted my external storage on my server using cifs and mounted it into the docker container. I can confirm I see it and it’s successfully added in Nextcloud admin settings. The owner and group is “www-data”. However, upon uploading into this folder I get forbidden.

Why might this be?