Skip to content

API help needed - project creation succeeds the first time, then produces sql errors #69

@Rmolimock

Description

@Rmolimock

This is in the site-api repo.

Exception:
'list' object has no attribute '_sa_adapter'

Stack Overflow suggested changing any references to obj.dict[k] = v to use setatter, because sqlalchemy doesn't handle the first very well.

Tried that, didn't fix anything.

Additional calls to the POST projects route result in: This session is in 'inactive' state, due to the SQL transaction being rolled back; no further SQL can be emitted within this transaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions