Problem while creating document with multi relationship field and file upload #2763
-
Let say I have two collection plans and members. Members can have more than one plans as relation field with multiple option as well as there is picture field with file upload option. In flutter SDK, while trying to create document with picture plans field is sending as empty array while without picture working properly. Now as a work around two request is send to server one to create document and then update picture. Whether its known issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Could you provide a code sample how you are sending the request? Note that files must be added separately using the |
Beta Was this translation helpful? Give feedback.
@iamdineshkumar The
multipart/form-data
array values request data bind should be fixed in v0.16.6 (I'll submit a PR later in echo for v4 and v5), but note that this may not resolve your issue as in your case you don't seem to have array values and I'm not really sure what do you mean by "but getting raw data after create hook is not providing request data". If after the update you are still not able to resolve the issue, please elaborate and/or provide the exact returned error.