Required parameter bucket_name not set

Ok maybe im just dummy or, ive been looking for a solution to this:

  "name": "ValueError",
  "message": "Required parameter bucket_name not set",
  "stack": "Traceback (most recent call last):\n  File \"/api/\", line 53, in inference\n    output = await user_src.inference(all_inputs, streaming_response)\n  File \"/api/\", line 249, in inference\n    await download_model(\n  File \"/api/\", line 77, in download_model\n    exists = storage.file_exists()\n  File \"/api/utils/storage/\", line 134, in file_exists\n    object = self.s3resource().Object(self.bucket_name, self.path)\n  File \"/opt/conda/lib/python3.10/site-packages/boto3/resources/\", line 527, in create_resource\n    return partial(\n  File \"/opt/conda/lib/python3.10/site-packages/boto3/resources/\", line 125, in __init__\n    raise ValueError(f'Required parameter {identifier} not set')\nValueError: Required parameter bucket_name not set\n"
Traceback (most recent call last):
  File "/api/", line 53, in inference
    output = await user_src.inference(all_inputs, streaming_response)
  File "/api/", line 249, in inference
    await download_model(
  File "/api/", line 77, in download_model
    exists = storage.file_exists()
  File "/api/utils/storage/", line 134, in file_exists
    object = self.s3resource().Object(self.bucket_name, self.path)
  File "/opt/conda/lib/python3.10/site-packages/boto3/resources/", line 527, in create_resource
    return partial(
  File "/opt/conda/lib/python3.10/site-packages/boto3/resources/", line 125, in __init__
    raise ValueError(f'Required parameter {identifier} not set')
ValueError: Required parameter bucket_name not set

do i miss anything in the config ?

Hey, sorry for the late reply, in the midst of some travel at the moment.

It’s about the AWS bucket name not being set.

  1. If you weren’t trying to use something that uses S3 storage, it’s a bug! Let me know.
  2. If you were, make sure AWS_S3_DEFAULT_BUCKET is set if you don’t manually specify a bucket name in the s3:// URL. More details in at docs/storage.