BrightcoveOS/User-Uploads — Issue #1: Issue with User-Uploads +  PHP-MAPI-Wrapper
Author: propercursive
Created: 2011-11-17 21:53:43+00:00
State: open

I cloned the latest version of the user-Uploads and PHP-MAPI-Wrapper repos. and got the following error when trying to upload a small test video to my BC account. Both READ / WRITE tokens are set correctly.

Warning: Invalid argument supplied for foreach() in /path/to/server/directory/bc-user-uploads.php on line 102

Fatal error: Uncaught exception 'BCMAPIApiError' with message 'API error' == Error deserializing JSON for property tags - expected to get type interface java.util.Set from value: Array (205) == ' in /path/to/server/directory/bc-mapi.php:1329 Stack trace: #0 /path/to/server/directory/bc-mapi.php(518): BCMAPI->putData(Array) #1 /path/to/server/directory/bc-user-uploads.php(93): BCMAPI->createMedia('video', '/tmp/Bernard.mp...', Array, Array) #2 /path/to/server/directory/handle_upload.php(23): BCUserUploads->__construct(Object(BCMAPI), Array) #3 {main} thrown in /path/to/server/directory/bc-mapi.php on line 1329

Thanks!