Samsung account processing failed on Samsung SM-A500G?

Apparently due to no reason my Samsung account has got locked. When I try to add account to my phone it says processing failed.

But, if I open a browser on my PC or Phone and try to login, it is successful.

I factory reset the phone, but still cannot add my Samsung Account to my phone.

Any solution, please?