Skip to content

fix: surface video filename errors during upload - #116

Merged
santhosh-apphelix-2u merged 3 commits into
release-ulmofrom
fix/lp-1036-video-upload-error-message
Sep 10, 2026
Merged

santhosh-apphelix-2u merged 3 commits into
release-ulmofrom
fix/lp-1036-video-upload-error-message

Conversation

@santhosh-apphelix-2u

@santhosh-apphelix-2u santhosh-apphelix-2u commented Sep 10, 2026 •

Copy link
Copy Markdown

Summary

When a video filename contains non-ASCII characters, the backend returns a specific validation error. Studio was displaying only the generic Failed to add... message.

Changes

  • Pass the backend error message through the video upload thunk.
  • Preserve the message in the Redux error state.
  • Return immediately after a resolved non-2xx response to prevent a follow-up generic error.
  • Add tests for both resolved error responses and rejected Axios requests.

Expected behavior

Users now see the backend message with the actual filename, for example:

The file name for lecture – intro.mp4 must contain only ASCII characters.

@santhosh-apphelix-2u
santhosh-apphelix-2u merged commit af46c38 into release-ulmo Sep 10, 2026
4 checks passed
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.

3 participants