Default imei not registered, just a blank box HELP

I factory reset my phone today after having issues with a buggy ROM, and the imei didn't register with the device. I can't find anything relevant to the i317. Anyone have any ideas how to correct this issue? Please help