@ bobbyau
The JavaScript console error looks like it is being created by JetPack, not Connections. The error suggests that their is a coding error in the JSON reply causing a line not being ended correctly.
This should be completely unrelated to getting a 403 error when adding an image to a Connections entry. It’s been quite some time since I’ve seen any issues regarding folder/file permissions for images. Try setting the folder permissions for connections-images to 767. Does that help? If it does, my best guess is the web host made a server config change that seems to affect images files being uploaded to the WordPress uploads folder, perhaps whitelisting WordPress as to not break it but will still break when plugins upload images. If that is the case, that would seem odd, cause Connections simply uses the WordPress core functions to upload images, nothing fancy or custom. Don’t build it if it built in, right? :)
It just occurred to me…
The 4.7.1 security update to WordPress is causing users all sorts of trouble with uploading files. This would be the first where I heard images not uploading in Connections. And the first were server 403 errors were being thrown.
Any way, you can read more here:
https://core.trac.wordpress.org/ticket/39550
In this thread the devs are suggesting users install this plugin:
https://wordpress.org/plugins/disable-real-mime-check/
Perhaps give this a plugin a try.
Let me know how things go.
