Hello, I am creating an application for uploading videos and sending to my own written API. I added a plugin called API Connector. Then configure request parameters for my endpoint.
Data type: JSON
Method: POST
Body type: Form-data
Parameters: Key -> “file” , Value -> uploaded file (mp4)
After sending request with that configuration, in the result I am receiving error message like this:
{"message":"write EPIPE","args":{"origin":"native error","errno":"EPIPE","code":"EPIPE","syscall":"write","outer_stack":{"message":".wait() was called here","args":{},"stack":"UnexpectedError .wait() was called here\n at Block.wait (/home/ec2-user/bubble/lib/u/u.js:1420:22)\n at Promise.block (/home/ec2-user/bubble/lib/u/u.js:2274:18)\n at /home/ec2-user/bubble/lib/apiconnectorbase.js:1518:43\n at Function.Lib.extend (/home/ec2-user/bubble/lib/lib.js:287:14)\n at TestAPICall.calls.TestAPICall.TestAPICall.execute (/home/ec2-user/bubble/lib/apiconnectorbase.js:1485:20)\n at /home/ec2-user/bubble/lib/server/services/api_service.js:41:18\n at Function.Lib.extend (/home/ec2-user/bubble/lib/lib.js:287:14)\n at APIService.module.exports.APIService.doapicallfromserver (/home/ec2-user/bubble/lib/server/services/api_service.js:20:16)\n at APIService.module.exports.APIService.post (/home/ec2-user/bubble/lib/server/services/api_service.js:13:26)\n at ServiceHoster.module.exports.ServiceHoster._call_service (/home/ec2-user/bubble/lib/server/services/service_hoster.js:538:26)\n at ServiceHoster.module.exports.ServiceHoster.request (/home/ec2-user/bubble/lib/server/services/service_hoster.js:559:16)\n at ServiceHoster.module.exports.ServiceHoster.do_request (/home/ec2-user/bubble/lib/server/services/service_hoster.js:126:16)\n at /home/ec2-user/bubble/lib/server/services/service_hoster.js:78:25\n at Function.Lib.with_lib (/home/ec2-user/bubble/lib/lib.js:237:12)\n at /home/ec2-user/bubble/lib/server/services/service_hoster.js:47:22\n at run_fn (/home/ec2-user/bubble/lib/u/u.js:1147:9)\n"}},"stack":"Error: write EPIPE\n at WriteWrap.afterWrite (net.js:779:14)\n"}
This request is touching my API but the file parameter is null.
Someone maybe had problem like this?
Best Regards