Skip to content

🐛(y-provider) use CONVERSION_FILE_MAX_SIZE settings#1913

Merged
AntoLC merged 1 commit intomainfrom
fix/payloadTooLargeError-import
Feb 24, 2026
Merged

🐛(y-provider) use CONVERSION_FILE_MAX_SIZE settings#1913
AntoLC merged 1 commit intomainfrom
fix/payloadTooLargeError-import

Conversation

@AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Feb 24, 2026

Purpose

The settings CONVERSION_FILE_MAX_SIZE was not used in the route conversion in the y-provider server, which caused a 413 Payload Too Large error when trying to convert a file larger than 500kb.
This commit updates the y-provider to use the CONVERSION_FILE_MAX_SIZE settings, allowing it to handle larger files without throwing an error.
CONVERSION_FILE_MAX_SIZE should follow the same value as the one defined in the backend settings, which is 20mb by default.

@AntoLC AntoLC self-assigned this Feb 24, 2026
@AntoLC AntoLC added bug Something isn't working backend labels Feb 24, 2026
@AntoLC AntoLC linked an issue Feb 24, 2026 that may be closed by this pull request
The settings CONVERSION_FILE_MAX_SIZE was not used
in the y-provider, which caused a 413 Payload
Too Large error when trying to convert a file larger
than 500kb.
This commit updates the y-provider to use the
CONVERSION_FILE_MAX_SIZE settings, allowing it to
handle larger files without throwing an error.
CONVERSION_FILE_MAX_SIZE should follow the same
value as the one defined in the backend settings,
which is 20mb by default.
@AntoLC AntoLC force-pushed the fix/payloadTooLargeError-import branch from 53d613a to e323af2 Compare February 24, 2026 13:26
@AntoLC AntoLC added the javascript Pull requests that update Javascript code label Feb 24, 2026
@AntoLC AntoLC requested a review from lunika February 24, 2026 13:42
@AntoLC AntoLC merged commit e323af2 into main Feb 24, 2026
28 of 30 checks passed
@AntoLC AntoLC deleted the fix/payloadTooLargeError-import branch February 24, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend bug Something isn't working javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 (import) PayloadTooLargeError: request entity too large

2 participants