InvalidArgumentException: Found 1 error while validating the input provided for the GetObject operation

Created on 4 August 2021, over 3 years ago
Updated 15 January 2025, about 2 months ago

We have a node form on a site that lets folks upload images. After someone uploads an image before submitting the form (select file, click upload) the thumbnail shows on the dit form. However, after submitting the form it throws an error and the following is logged:

InvalidArgumentException: Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0 in Aws\Api\Validator->validate() (line 65 of /code/vendor/aws/aws-sdk-php/src/Api/Validator.php).

This doesn't happen on our production environment (from what we can tell).

Another content type works fine, but this one fails.

There's probably something with another module causing it to fail, but I wanted to start here to log the problem so that ultimately it might others if they're also running into the problem.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Drupal 7 end-of-life triage:
    Drupal 7 reached end of life on January 5th.

    The 7.x branches of S3FS do not have any additional planned releases.

    The requests in this issue do not appear to exist in the 8.x-3.x and newer branches.

Production build 0.71.5 2024