Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3ImageAsset.Key provided incorrect OutputType: 'String' #398

Open
awalkerca opened this issue Jan 17, 2021 · 0 comments
Open

S3ImageAsset.Key provided incorrect OutputType: 'String' #398

awalkerca opened this issue Jan 17, 2021 · 0 comments

Comments

@awalkerca
Copy link

I'm trying to get this plugin working against a private minio server. My server is on a local server, and is not setup with ssl (I know, I know..). So I made a small change:

export const createS3Instance = ({ accessKeyId, domain, secretAccessKey, protocol }) =>
  new S3({
    accessKeyId,
    apiVersion: '2006-03-01',
    endpoint: domain,
    s3ForcePathStyle: true,
    secretAccessKey,
    signatureVersion: 'v4',
    sslEnabled: protocol === 'https'
  })

It allows me to continue on, and I see the images downloading into the .caches folder correctly, but I seem to be getting issues with the node construction.

ERROR 

Missing onError handler for invocation 'building-schema', error was 'Error: S3ImageAsset.Key provided incorrect OutputType: 'String''. Stacktrace was 'Error:
S3ImageAsset.Key provided incorrect OutputType: 'String'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant