Are you on latest Discourse version? Also are you seeing any relevant errors in forum.example.com/logs?
I tested locally and bulk invite process works fine for me, so this seems specific to your setup. Maybe try rebuilding the instance and then try again?
cd /var/discourse/
./launcher rebuild app