Using: Drupal 7.7

After uploading a video to Brightcove via the BI Module, the node fails to save. After reviewing the logs I'm getting this error:

BCMAPIApiError: API error' == Video must include either an id or a reference id. (303) == in BCMAPI->putData() (line 1329 of /sites/all/libraries/BrightcoveOS-PHP-MAPI-Wrapper-237c407/bc-mapi.php).

Any Thoughts?

Comments

tamasd’s picture

Version: 7.x-2.0-alpha4 » 7.x-2.0
Component: User interface » Code
Assigned: Unassigned » tamasd
Category: support » bug
Priority: Normal » Major
Status: Active » Needs review

Issue fixed in git commit: e9143bbd300bcb27fde9d70695ec7e8d7bc991b2.

gary.evans’s picture

Thanks

gary.evans’s picture

Yorirou,

Thanks for taking a look at this. I updated the files from commit e9143bbd300bcb27fde9d70695ec7e8d7bc991b2, but I'm still getting the error. I cleared the cache, is there anything I'm missing?

Thanks Again

tamasd’s picture

I don't know. After the fix I couldn't reproduce the bug anymore.

Can you provide me a stack trace (if you install xdebug, it does automatically)?

ranjan.kumar’s picture

Do you have any custom field setup in the brighcove module configuration page that is not setup on https://my.brightcove.com/admin/ ? I was getting the same error and creating a field on brightcove fixed it.

gskalak’s picture

I can confirm that this fixes the problem. One other thing to watch out for is to make sure your player name has no spaces on the brightcove settings page.

Coornail’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.