I am a python user

I have tried a few times to utilize the Notify.SMS() command within my OnData portion of the code to send alerts to my phone, to let me know when I enter a trade.  When the program has gotten to that line of code, it causes an error in my program.

the command I have: self.Notify.Sms("+1 123-456-7890", "Bought E-mini")

I have done the phone number as all 1 string (no dashes or spaces), but that didn't work.


Thank you for any help or insight you have.