File uploads can fail for the same reasons as any submission: invalid form ID, storage misconfiguration, or network issues. The Formbase submit endpoint responds with standard HTTP status codes so you can handle errors in your UI. Here is a simple client-side pattern you can reuse.Documentation Index
Fetch the complete documentation index at: https://docs.formbase.dev/llms.txt
Use this file to discover all available pages before exploring further.
Common error causes
Storage not configured
Storage not configured
Formbase throws an error if storage credentials are missing when a file is uploaded. Ensure all
STORAGE_* environment variables are set.Incorrect form ID
Incorrect form ID
A
404 response means the form ID does not exist or is not available in this Formbase instance.Network failures
Network failures
Handle timeouts or offline conditions by showing a retry button and preserving form state when possible.
Browser submissions return a
303 redirect on success. Treat 303 as a successful upload.