S3 Errors Uploading Profile Photos

Can confirm that when I try to upload an avatar the progress bar updates, and gets to 100%, but only then says “Error: Access Denied”.

Looking in the js console, I get the error:

https://discourse.psy.plymouth.ac.uk/uploads.json?client_id=0a2569993a6b43d6b5f8c60fdd2c913e
Failed to load resource: the server responded with a status of 422 ()

And if I follow that url:

{"errors":["The requested URL or resource could not be found."],"error_type":"not_found"}

Checking the S3 bucket, nothing has made it to the ‘Originals’ folder.

This is in contrast to the situation when I upload and image to a post: then everything works fine and the image does appear in the s3 bucket, and is thumbnailed/optimized too.

1 Like