Integration of AWS S3 in next-corporate-starter-template

System Information
  • Strapi Version: 3.6.0
  • Operating System: Windows 10
  • Database: sqlite
  • Node Version: >=10.16.0 <=14.x.x
  • NPM Version: ^6.0.0
  • Yarn Version: 1.22.0

After installing through npm the:

GitHub - strapi/strapi-starter-next-corporate: Next.js starter for creating a corporate site with Strapi.

I am trying to get AWS S3 to be my default upload for images but after going through the below given steps it does not seem to be working.

https://strapi.io/documentation/developer-docs/latest/development/plugins/upload.html#configuration

I keep receiving “internal error has occured” everytime I try to upload an image through Strapi media library.
I have also tried to follow along the same logic as given in the below given video but it also does not work: (the forum is not allowing me more than 2 links, so I have just posted the name by which you can search the video on YouTube)

Install, config and use an email and upload provider