I manage a few servers dedicated solely to my affiliate marketing efforts. As part of my daily routine, I monitor logs and activity of those servers. I do this for to maintain a level of security, but I also do this to keep an eye out for issues related to my affiliate sites.
Today for example, I started seeing ‘Warnings’ about undefined variables related to a eBay API processing script. This variable is defined when the server successfully communicated with eBay’s API and it then fills a array. The array was never created, yet, there were no errors with the API communication? This was odd, so I started to do some debugging.
I ‘echoed’ the response and saw the following:
Ah, so my authToken had expired. I didn’t even know they expired. Logging into eBay’s developer area, I saw that the token expired yesterday (7/11). The bottom line, is that I have many sites communicating to eBay using the API system there, and if I didn’t monitor my logs, I would have missed this. I’ll be re-writing my API function to alert on Ack=failure to avoid this. Normally, I was just looking at ‘complete’ failure in the communication string.