Skip to content

OUT-2328: triage: cannot read properties of undefined(reading 'contentType') - #111

Closed
SandipBajracharya wants to merge 1 commit into
mainfrom
OUT-2328
Closed

OUT-2328: triage: cannot read properties of undefined(reading 'contentType')#111
SandipBajracharya wants to merge 1 commit into
mainfrom
OUT-2328

Conversation

@SandipBajracharya

Copy link
Copy Markdown
Collaborator

Changes

  • implement size validation before upload and error toast if validation fails
  • error toast if invoked variable is undefined

Note:

  • Upon checking the log, the upload process was returning 413 (file too large). Due to this the function handling the upload was not returning anything at all. That basically makes the invoking variable undefined.

…ontentType')

- [x] implement size validation before upload and error toast if validation fails
- [x] error toast if invoked variable is undefined

Note:
Upon checking the log, the upload process was returning 413 (file too large). Due to this the function handling the upload was not returning anything at all. That basically makes the invoking variable undefined.
@linear

linear Bot commented Sep 19, 2025

Copy link
Copy Markdown

@vercel

vercel Bot commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
client-home Ready Ready Preview Comment Sep 19, 2025 8:34am

@priosshrsth priosshrsth left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants