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'm trying to use $s3->getObjectAttributes() to grab a file's ETag but I see two issues with this. It seems (based on bandwidth) that this command still downloads the whole file which beats the purpose of just getting the attributes. Secondly, I'm getting an error.
"Error parsing response for GetObjectAttributes: AWS parsing error: Error parsing XML: String could not be parsed as XML"
My S3 provider is us-east-1.linodeobjects.com and I'm on version "humanmade/s3-uploads": "3.0.4".
I think it's also good to know that if I use $s3->getObject() the command works and I get the Guzzle stream as well as ETag, etc. (but my goal here is not to download the file).
If I change the 'ObjectAttributes' to 'ObjectAttributes' => array('ETag', 'ObjectSize') then it immediately fails with:
"Error executing "GetObjectAttributes" on "path?attributes"; AWS HTTP error: Client error: GET https://path?attributes resulted in a 403 Forbidden response:
Hi there,
I'm trying to use $s3->getObjectAttributes() to grab a file's ETag but I see two issues with this. It seems (based on bandwidth) that this command still downloads the whole file which beats the purpose of just getting the attributes. Secondly, I'm getting an error.
The code and command I'm using:
This gives me an error:
My S3 provider is us-east-1.linodeobjects.com and I'm on version "humanmade/s3-uploads": "3.0.4".
I think it's also good to know that if I use $s3->getObject() the command works and I get the Guzzle stream as well as ETag, etc. (but my goal here is not to download the file).
If I change the 'ObjectAttributes' to
'ObjectAttributes' => array('ETag', 'ObjectSize')
then it immediately fails with:Hopefully someone can help me out, thanks!
The text was updated successfully, but these errors were encountered: