This project is read-only.

'channelUrl' is null or not an object

Jul 16, 2009 at 5:19 AM


I m getting this javascript error on performing any action of javascript on the page.
" 'channelUrl' is null or not an object" .

if any solution.. plz suggest

May 10, 2010 at 10:44 PM

I'm experiencing the same thing in my Facebook IFrame canvas application.  Whenever I drag and drop an item using the jQuery "Sortable" UI addon, then kick off an AJAX call to tell the server that the user dragged and dropped an item, the very next time the user goes to drag and drop the same item, they get that error:

'channelUrl' is null or not an object

For me, the error occurs in the following line of code:

LINE 46:


The line of code starts with this:


This error is occuring because "a.frameName" is set to "iframe_canvas", but "a.channelUrl" is set to NULL.  So when you call "indexOf" on a NULL property, you get that JavaScript error.

I've submitted a bug to Facebook for this: