Vikunja data import on self-hosted install gets a 502 Bad Gateway

Not sure either, but shouldn’t there be more logs somewhere else?

That should not happen. Can you check the exported json for list idenfifiers? My first guess from the top of my head would be they are empty and the import does not handle it properly.