file field is required error #687
Replies: 5 comments 9 replies
-
Hello @hafijAsadMVN If it is being sent then you'd need to check/debug your server implementation. Notice that you use chunked uploads, so you need to ensure your server supports those. I've played with chat-gpt a few times trying to see what it knows about Uploady, what I've seen isnt very ensuring. In other words, I wouldnt trust how it thinks Uploady should be used. It normally makes up stuff that doesnt exist in the API. For example, you really dont need to specifiy the file as part of the params. The file is sent using FormData and that's done automatically by Uploady's internals. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick response, my mistake, actually with the mentioned code of ChunkedUploady works fine, but I get error from this below code with TusUploady, Error: If ChunkedUploady works fine with the same configuration then why TusUploady isn't working?
|
Beta Was this translation helpful? Give feedback.
-
TusUploady requires your server to implement the Tus protocol. Does your server support it? |
Beta Was this translation helpful? Give feedback.
-
moving to discussions |
Beta Was this translation helpful? Give feedback.
-
Hello @yoavniran , Thanks for your previous response. Here are my few queries:
|
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am getting the below error from my server using the below code:
It means uploady somehow not sending file field, One solution I get from chatgpt that I have to pass file as params in Uploady but how can I get the file? Or any better solution?
Versions
"@rpldy/chunked-uploady": "^1.8.0",
Code
Beta Was this translation helpful? Give feedback.
All reactions