You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set the 'Metadata' on my S3 adapter. I have tried setting it as a string, since the configuration complains that it should be scalar and not an array, but when the call to the S3 api is made I get the following error:
Found 1 error while validating the input provided for the PutObject operation:
[Metadata] must be an associative array. Found string(56) "Cache-Control: max-age=2592000, public, s-maxage=2592000"
Question
I am trying to set the 'Metadata' on my S3 adapter. I have tried setting it as a string, since the configuration complains that it should be scalar and not an array, but when the call to the S3 api is made I get the following error:
When setting it as an array, it complains about the type:
How do I configure the metadata correctly? I am suspecting that the type is wrong; it shouldn't be a scalar.
The text was updated successfully, but these errors were encountered: