Description
Subject: Assistance with S3 Integration in Our App
Hi,
I’ve been trying to integrate S3 into Bolna. Here’s what I’ve done so far:
Filled in the required environment variables in the env file.
Updated the API configuration by setting Local=False.
However, I’m encountering the following error:
bolna-app-1 | 2024-11-22 13:09:39.978 INFO {credentials} [load] Found credentials in environment variables.
bolna-app-1 | 2024-11-22 13:09:40.249 ERROR {utils} [store_file] Exception occurred while s3 put object: expected string or bytes-like object
bolna-app-1 | 2024-11-22 13:09:40.249 WARNING {runners} [run] Executing <Task pending name='Task-44' coro=<store_file() running at /app/bolna/helpers/utils.py:156> cb=[gather.._done_callback() at /usr/local/lib/python3.10/asyncio/tasks.py:720] created at /usr/local/lib/python3.10/asyncio/tasks.py:636> took 0.340 seconds
bolna-app-1 | INFO: 172.18.0.1:40094 - "POST /agent HTTP/1.1" 200 OK
Additionally, nothing is being stored in S3.
I’d appreciate guidance on the following:
How to properly create the S3 buckets.
Whether the folders need to be created manually or if they’re auto-generated.
The recommended structure for the buckets and folders.
Thank you in advance for your help!