Skip to Content
Menu
This question has been flagged
1 Reply
2616 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
4541
1
Nov 24
3304
2
Apr 23
18418
1
Mar 23
2553
4
Aug 24
24476