Login error

 
Hi 
I have problem on login.
to login usi Python API, I was writing as this 

mt5.initialize()
authorized = mt5.login(12345600)

if authorized:
        print("Success: Connecting to MT5 Client")
    else:
        print("Failed to connect at account #{}, error code: {}".format(account_ID, mt5.last_error()))

As written at Metatrader5 reference.
There was no problem for a while, but suddenly  

I got this error message.

Failed to connect at account #12345600, error code: (-2, 'Terminal: Invalid params')

does anyone have knowledge about why this happen? 

OOP in MQL5 by Example: Processing Warning and Error Codes
OOP in MQL5 by Example: Processing Warning and Error Codes
  • www.mql5.com
The article describes an example of creating a class for working with the trade server return codes and all the errors that occur during the MQL-program run. Read the article, and you will learn how to work with classes and objects in MQL5. At the same time, this is a convenient tool for handling errors; and you can further change this tool according to your specific needs.
Reason: