Describe the bug
Return to 520 when collecting a key with empty source.
API: POST[/l18n/l10n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}/keys/{key}
To Reproduce
Steps to reproduce the behavior:
Go to POST[/l18n/l10n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}/keys/{key}
Leave the source body is empty and sourcCollect=true.
Input other required parameters and submit.
See error: return to code 520
Expected behavior
Should return to 400 with message that we don't support the key with empty source.
Describe the bug Return to 520 when collecting a key with empty source. API: POST[/l18n/l10n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}/keys/{key}
To Reproduce Steps to reproduce the behavior:
Expected behavior Should return to 400 with message that we don't support the key with empty source.