I was having the same or similar issue.
Changing the read-only credentials to an account with write permissions fixed my issue. I only need to capture an image once an awhile so I just changed the credentials back once I had my image.
Not sure if this is related to your issue or not, but I hope it helps.