Skip to Content
Menu
This question has been flagged
1 Reply
2155 Views

I am getting this error when submitting a file input to controller 

TypeError: argument should be a bytes-like object or ASCII string, not 'FileStorage'

record_file = fields.Binary(string='file', attachment=True, help="Upload the snap",website_form_blacklisted=False)



Avatar
Discard

this question is incomplete like not asking anything or not providing enough information about the issue

Related Posts Replies Views Activity
2
Dec 24
3106
1
Nov 24
1730
2
Apr 23
14912
1
Mar 23
1227
4
Aug 24
21374