Python Forum
sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type.
#4
(Apr-03-2018, 08:09 AM)Prince_Bhatia Wrote: but i have already connected it with the database...it is just not able to submit the data
It may not be connected,look at link in your error.
@Background on this error at: http://sqlalche.me/e/rvf5
Quote:Exception raised for errors that are related to the database interface rather than the database itself.
This error is a DBAPI Error and originates from the database driver (DBAPI), not SQLAlchemy itself.
The InterfaceError is sometimes raised by drivers in the context of the database connection being dropped, or not being able to connect to the database.
For tips on how to deal with this, see the section Dealing with Disconnects.
I have tested and done a lot with databases in Flask,but i would not deal with SQLAlchemy directly when Flask-SQLAlchemy dos this job so good.
Quote:@Flask-SQLAlchemy
It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.
Reply


Messages In This Thread
RE: sqlite3.InterfaceError: Error binding parameter 0 - probably unsupported type. - by snippsat - Apr-03-2018, 03:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  POST `api` 415 (Unsupported Media Type) Dexty 2 4,736 Aug-09-2023, 02:42 AM
Last Post: OEVFyeesZbrU
  Flask error sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint pythonpaul32 2 3,713 Feb-21-2023, 03:13 AM
Last Post: noisefloor
  pymysql.err.InterfaceError nikos 1 3,049 Feb-24-2019, 02:07 PM
Last Post: nikos
  Type Not Found error on python soap call using suds library wellborn 1 4,623 Dec-19-2017, 07:53 PM
Last Post: micseydel
  Getting past a none type error CodyW129 1 10,059 Jul-27-2017, 12:22 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020