While M2C is one of the easy-to-use Cloud storage plugins, you might face issues. Here, is a doc for troubleshooting common issues related to Media Storage to Cloud.
You will be able to find answers to common questions, the solution to common issues, and an explanation of error messages you may face while using the plugin.
Amazon S3 #
If you wish to use the plugin to offload website media to Amazon S3, then you may face the following error messages.
Here, simply search for the error message you saw and click on it to find out why that error message was triggered and a possible solution.
01. Fill up all required fields

If you are getting this error message, that means that you have left any of the following field empty/ blanks.
Make sure to input the required data on every field before attempting to connect to AWS.
02. The AWS Access Key Id you provided does not exist in our records.

If you are getting this error message that means that your AWS Access ID is not valid, i.e. you entered the wrong access ID.
You may click on this link to collect your valid AWS Access ID.
03. The request signature we calculated does not match the signature you provided. Check your key and signing method.

If you are getting this error message, then you have provided the wrong AWS Secret access key.
You may click on this link to collect your required AWS secret access key.
04. The specified bucket does not exist

If you are getting this message, then it means that you are either inputting the wrong bucket name, or the bucket is deleted from your AWS S3.
You can click on this link to get the bucket list in your AWS S3.
05. Error executing “PutObject” on “https://URL”; AWS HTTP error: cURL error 6: Could not resolve host: HOST (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

If you are getting this error message, it means that the bucket region you have entered is incorrect or does not exist.
Click here to get the list of all accepted regions.
06. Encountered a permanent redirect while requesting https://URL. Are you sure you are using the correct region for this bucket?

If you are getting this error message that means the bucket region you have entered doesn’t exist.
Click here to get all the region list.
07. The authorization header is malformed; the region ‘region-name’ is wrong; expecting ‘region-name

If you are getting this message that means your bucket name is correct, but you have provided the wrong region for this bucket.
Click here to get all the region list.
08. Access denied

If you are getting this error message, that means your bucket is private.
Simply change your bucket restrictions from Private to Public and it should solve the issue.
To do so, follow these steps:
- Go to your bucket list.
- Select the bucket you are using.
- Click on the Permission tab
- Change the permission from Public to Private
DigitalOcean Spaces #
If you wish to use the plugin to offload website media to DigitalOcean Spaces, then you may face the following error messages.
Here, simply search for the error message you saw and click on it to find out why that error message was triggered and a possible solution.
01. Invalid Access Key Id

If you are getting this error message, then you have entered the wrong Access ID.
Click here to collect your Access key list.
02. Signature Does Not Match

If you are getting this error message that means you are providing the wrong Space Access Secret.
Click here to learn how to get the Space Access Secret.
03. Bucket Deleted
If you are getting this error message, that means the bucket name you have entered is already deleted from the DigitalOcean Spaces.
When you delete a bucket from DigitalOcean, it sets a certain time for this bucket to be completely deleted and in the meantime, you won’t be able to use this bucket. So, if you use this bucket name during this time period, you will get this error message.
Click here to get the bucket list.
04. No Such Bucket

If you are getting this error message, that means if you have provided the wrong bucket name.
Click here to get your bucket list.
05. Bucket Region Invalid
If you are getting this error message that means you have provided a wrong or invalid bucket region.
Click here to learn more about how to get the bucket region.
Google Cloud Storage #
01. Invalid service account data. Could not connect.

If you are getting this error message, that means you have entered the wrong API credential or your service account data is invalid.
You can follow this doc to learn how to setup Google Cloud Storage.
And, you can also follow this link to learn about how to connect Google Cloud Storage.
02. Bucket not found.

If you are getting this error message, that means if you have provided the wrong bucket name.