I am having a problem polling with Ext.Direct, the code i'm using is...

Code:
    Ext.Direct.addProvider(
        Test.API,
        {
            interval: 10000,
            type: 'polling',
            url: 'polling_test.php?type=data'
        }
    );
The Test.API is building off of the example api. I am just setting the namespace, descriptor, the defaults (autoInclude and basePath), and adding the class to the api.

The polling is working correctly and I'm getting the correct data back, but the error is causing issues with detecting the data return event. Without being able to detect this event I can't use an event handler, which I need to do. I am currently using Firebug to see that the data is being received correctly.

Any help would be greatly appreciated! Thank you.