You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/07/08 12:47:00 UTC
[GitHub] [cordova-plugin-file-transfer] phoenix503 edited a comment on issue #251: File Transfer HTTP Method
phoenix503 edited a comment on issue #251:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/251#issuecomment-876404212
Hi @breautek
Can you please suggest me the way how to add requestBody in fileTransfer plugin.
I am adding it in params but it is not working giving error as "Missing fields are required"
`
FileTransferError {code: 1, source: "content://com.android.providers.media.documents/document/document%3A33", target: "http://192.168.1.6:9001/protected/", http_status: 400, body: "<?xml version="1.0" encoding="UTF-8"?>↵<Error><Cod…34ec-b728-4fb5-a2fb-1beb859876db</HostId></Error>", …}body: "<?xml version="1.0" encoding="UTF-8"?>↵<Error><Code>MissingFields</Code><Message>Missing fields in request.</Message><BucketName>protected</BucketName><Resource>/protected/</Resource><RequestId>168FD184D26AB3F2</RequestId><HostId>f83934ec-b728-4fb5-a2fb-1beb859876db</HostId></Error>"code: 1exception: "http://192.168.1.6:9001/protected/"http_status: 400source: "content://com.android.providers.media.documents/document/document%3A33"target: "http://192.168.1.6:9001/protected/"__proto__: Object`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org