Skip to content

Bug: Image attachment previews return 403 Forbidden (uploaded images not visible in chat) #1229

@Aryan-Verma-999

Description

@Aryan-Verma-999

Description:

After a file is successfully uploaded via EmbeddedChat, the image attachment preview in the chat message fails to load with a 403 Forbidden error. The file uploads correctly to the server, but the tag rendering the preview has no authentication headers, so RC's default "Block Unauthenticated Access" setting blocks the request.

Steps to reproduce:

  1. Log in and navigate to a channel
  2. Click the attachment button and upload any image file
  3. Observe the chat message after the upload completes

Expected behavior:

The uploaded image should render as a preview inline in the chat message.

Actual behavior:

The image preview area is blank/broken. The browser console shows:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions