Thanks for your help, fmaguin.
It turns out that my issues were related to using the proxy account. I tried running my script locally using my own account and everything worked perfectly. I guess I'm going to have to create a way for users to log in through that page in order for canceling appointments to work. |