These events can be used in Bubble workflows to respond to user actions or handle error situations:
- chooserOpened
- Description: Fires when the Dropbox chooser successfully opens.
- onFilesSelected
- Description: Indicates that files have been selected and processed successfully.
- Typical Use: Store file details in the database, generate previews, etc.
- onCancel
- Description: Occurs when the user closes or cancels the selection window without choosing valid files.
- session_expired
- Description: Triggered when the inactivity_timeout is exceeded, causing token removal for security reasons.
- error
- Description: Fired upon configuration issues or failures during file loading/selection.
- Example error_code values:
- "CONFIG_ERROR": app_key_dropbox is missing.
- "DROPBOX_UNAVAILABLE": Unable to load the Dropbox script.
- "CHOOSER_ERROR": Internal error opening the chooser.
- "PROCESS_ERROR": Error processing the list of selected files.
- security_alert
- Description: Internal event triggered when critical security or integrity incidents are detected (e.g., code tampering).
Comments (00)