I have set it up to import the following feed:

http://gdata.youtube.com/feeds/base/users/cpelham/uploads?max-results=50...

but I get this error on import (and no imported items):

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=482&op=do StatusText: Internal Server Error ResponseText:

Comments

matas.k’s picture

Try selecting Output format as RSS 2.0 and in your final link change /base/ to /api/

try this URL:
http://gdata.youtube.com/feeds/api/users/cpelham/uploads?max-results=1&a...

It should import latest video from your channel. Works to me.

shahidbscs’s picture

Thanks vibrasphere it work for me. :)

Enzman’s picture

Had a nearly identical error message. Increasing the packet size to 16M (from 8M) worked for me:

http://mysite.com/admin/reports/status

you can see this message:
MySQL - max allowed packet
1 MB

Your MySQL 'max_allowed_packet' setting may be too low for Views data export to function correctly, Drupal's requirements recommend setting it to at least 16M. See: http://drupal.org/requirements

(Note from Alex)
I found information which says that this problem appears in huge difficult views. When some people tried to do that views in different way,
it became ok. We deal exactly with big view, which mean big query. So that mysql limitation can be a reason for that.

It is in server configuration, as I remember in php.ini file.

The line is:
post_max_size = 8M

I changed it to:
post_max_size = 16M

Restarted apache and mysql after changes. Fixed the issue completely.

boon4376’s picture

#1 worked for me.

Adding the &alt=rss to my URL worked. Wish this was in documentation somewhere and not just here. :-/

alex oliver perez’s picture

#1 worked for me also. Just added the &alt=rss and it did fix the ajax error. Thanks for the solution.

http://gdata.youtube.com/feeds/api/videos?orderby=published&author=userc...