VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

Getting Missing boundary in multipart/form-data error in logs while uploading the files #316

Closed vanimesh closed 8 months ago

vanimesh commented 11 months ago

Getting Missing boundary in multipart/form-data error in logs while uploading the files.

vanimesh commented 11 months ago

The API works fine when i test it via postman, but when i use the same in grafana with file upload feature i get the above said error

vanimesh commented 11 months ago

Any help pls ?

asimonok commented 11 months ago

Duplicated by #252

fgnn commented 9 months ago

I think this is different than #252, or perhaps I have missed something in both issues that has already been solved.

Here is my setup image

And here is the message as captured in chrome image

and the payload image

And then in my python flask API, it does not detect it as a form or file. Although the data is present, it is not in an easy or standard format to read. image

The issue looks to be that the "boundary" is not included in the Content-type, as described here.

vanimesh commented 9 months ago

Were you able to solve this then ??

fgnn commented 9 months ago

@vanimesh, no I did not find a solution. Thanks @mikhail-vl for re-opening this.

mikhail-vl commented 9 months ago

@fgnn We appreciate your questions and working on an article and updating documentation to highlight latest updates.

vanimesh commented 8 months ago

Hi @asimonok , thank you for working upon the request. Any idea when we could have this fix released ?

mikhail-vl commented 8 months ago

@vanimesh PR is merged. You can try the updated version from CI artifacts.

fgnn commented 8 months ago

Updated to 3.7.0 and confirmed it works now. Thanks!

mikhail-vl commented 8 months ago

@fgnn Thank you for confirming.

Please let us know if there is anything else.

vanimesh commented 8 months ago

Yess it works fine for me too. Thank you very much