shorwood / strapi-provider-upload-do

Strapi Upload Provider for Digital Ocean Spaces. This provider will upload to the space using the AWS S3 API.
MIT License
59 stars 32 forks source link

Missing required key 'Bucket' in params #17

Open yogo1212 opened 1 year ago

yogo1212 commented 1 year ago
  upload: {
    config: {
      provider: 'strapi-provider-upload-do',
      providerOptions: {
        key: env('DO_SPACE_ACCESS_KEY'),
        secret: env('DO_SPACE_SECRET_KEY'),
        endpoint: env('DO_SPACE_ENDPOINT'),
        space: env('DO_SPACE_BUCKET'),
        cdn: env('DO_SPACE_CDN'),
        directory: env('DO_SPACE_DIR'),
      },
    },
  },
MissingRequiredParameter: Missing required key 'Bucket' in params
     at ParamValidator.fail (/app/node_modules/@strapi/provider-upload-aws-s3/node_modules/aws-sdk/lib/param_validator.js:50:37)
ke11 commented 5 months ago

DO_SPACE_BUCKET is missing probably