Forums

<class 'sqlite3.IntegrityError'> FOREIGN KEY constraint failed

I am getting this error on PA. When I run the app on my local machine it does what it is supposed to do. Is there something about using web2py on PA that I should be aware of regarding this?

The difference is probably in the data in your database. There is a constraint on you database that is violated by the operation you're trying to perform.