on-internet
← Community

I cannot find a solution for botocore.exceptions.ParamValidationError:

Stack Overflow ·

I am stuck trying to find a solution to the following error botocore.exceptions.ParamValidationError: invalid length for parameter Key, value: 0, valid range: 1-inf I am able to list, upload files to a static html page listing my S3 bucket/objects. But cannot download or delete without hitting the ParamValidationError. I am using a text editor (nano) on EC2, Python2.7 Flask, flask-bootstrap. I think I am missing a value in the brackets, but I haven't found a solution so far. Any help would be appreciated. @app.route('/download', methods=['POST']) def download(): key = request.form['key'] my_bu

Comments

Sign in or sign up to comment and upvote.

No comments yet.