R2 Bucket Returns 403 to new fal.ai turbo lora endpoint for images url

Hello, I previously used fal.ai fast lora trainer endpoint with r2 urls (custom domain) to access bucket zip files for training. Now, with this new turbo endpoint the fal requests end in 403 access forbidden. I have made sure proper cors rules and all other aspects are set up correctly. The old endpoint can access bucket normally. Where can I get help for this, or help in where to look?
2 Replies
harshil1712
harshil17127d ago
Hey, I am not familiar with fal.ai. The turbo endpoint you mentioned, I am assuming that it is coming from fal? If the same URL works with a different endpoint on fal, it should work with the turbo endpoint as well. Unless, fal does something different with how it uses the URL
bruhsoundeffect
bruhsoundeffectOP6d ago
Hello, I’m pretty sure fal.ai is doing extra requests, either HEAD or OPTIONS, in order to verify a file and its size from the given url. In my case it’s R2 custom domain url to training zip files in a bucket. This bucket works for all other fal ai endpoints! I tried going through a worker first but fal.ai always returned a 403 Forbidden. My current solution to this problem is to not use cloudflare R2 at all for this, and instead rely on fal.ai upload service via their sdk (not desirable)

Did you find this page helpful?