Awesome-Technologies / synapse-admin

Admin console for synapse Matrix homeserver
https://awesome-technologies.github.io/synapse-admin/
Apache License 2.0
823 stars 124 forks source link

Error importing csv #552

Open hugo141592 opened 3 months ago

hugo141592 commented 3 months ago

Hi! I am trying to import a bunch of records, but with no success. Even using the example.csv file, I get the message "Required field 'displayname' is not present".

image

tsartsiom commented 2 months ago

Experiensing same problem.

lofi8bits commented 2 months ago

Same here. After uploading the provided example.csv, I can successfully simulate the import. But with the real import (with box unchecked that asks for simulation of import), I get the error "Bad Request".

Seems like the error "Required field 'displayname' is not present" is thrown when the first line in example.csv ("id,displayname,password,is_guest,admin,deactivated") is missing. When the CSV file contains this as a header line, simulated import works (with ID changed to my server of course), but not for real imports.

aogrand commented 1 month ago

Can confirm bug. Happy to test fixes. Thanks for the cool app!