I created a content type (node) and added a Brightcove field with the Video (upload/browse) widget. When I tried to create a piece of content and use the upload button, I got the following error after clicking "attach":

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: OK
ResponseText:

I know it's a very generic error, but I don't see any log in an error file. I'm using jQuery 1.7 and jQuery UI 1.10.3.

This error also shows up in the console when I click the Upload button from the node add form: "Uncaught TypeError: Object [object HTMLDocument] has no method 'getAttribute' "

Comments

k.dani’s picture

Thank you for the report, we will check it soon. There are some compatibily issues with using jQuery 1.7 or later versions.

jedsaet’s picture

Confirming that this issue also exists for jQuery 1.5.

k.dani’s picture

I remove the related issue, because the problem is not due to the jQuery version.

johnnymowmow’s picture

I too am getting a similar error when uploading but slightly different:

An AJAX HTTP request terminated abnormally. Debugging information follows.
Path: http://www.sitename.com/system/ajax
StatusText: n/a
ResponseText: This server is experiencing technical problems. Please try again in a few moments. Thanks for your continued patience, and we're sorry for any inconvenience this may cause.
Error 502 Service Unavailable
XID: (Numbers not sure if relevant)
ReadyState: Undefined

The odd thing about this issue is that it seems to only affect an admin in Japan (I am in the US). We tested upload speed from his location to East Coast US and it is 22MB... so it shouldn't related to upload time. Does Brightcove block uploads from certain IPs based on location?

k.dani’s picture

Hi johnnymowmow,

I don't know anything related to IP blocking on upload from certain IPs based on location, but it seems that this problem is not related to the module. You should check the media module related known issues, you might find something which helps.

k.dani’s picture

Status: Active » Closed (cannot reproduce)

I checked the upload method with the latest dev version of the module, and i couldn't reproduce the problem.

iammeenugupta96’s picture

Any solution for the issue as I'm also getting similar issue. What could be causing the issue.

iammeenugupta96’s picture

In my case, this issue was happening because of permission issue for logged-in user for that particular content type, for which brightcove field was attached. I enabled the permission and it worked like a charm.