Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The file payload size is inconsistent with the parameter payload size #539

Closed
HelloRickey opened this issue May 2, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@HelloRickey
Copy link

New problem, I use delegateUploadObject to upload json file type will fail, prompt

{
  code: '110008',
  message: 'The file payload size is inconsistent with the parameter payload size',
  statusCode: 400
}

https://github.com/HelloRickey/greenfield-test/blob/main/test2.js#L35

@rrr523 rrr523 added the bug Something isn't working label May 3, 2024
@rrr523
Copy link
Collaborator

rrr523 commented May 3, 2024

@HelloRickey

Thanks for the feedback we have reproduced it, but the reason is not sure, it may be the relationship of SP.

I've tried several common file formats, and JSON seems to be the only one that does.

If your needs are urgent, you may need to change the format (such as txt), and so on, we will repair the first time.

@rrr523 rrr523 self-assigned this May 3, 2024
@rrr523
Copy link
Collaborator

rrr523 commented May 31, 2024

fixed #554.

And released in 2.0.1

@rrr523 rrr523 closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants