iphone - Error when updating video on brightcove in objective c -


hi trying update video on bright cove when send request returns error in return. request json wich send

{"method":"update_video","params":{"video":{"id":"myid","economics":"ad_supported"},"token":"mytoken.."}} 

and response is

{"name":"missingjsonerror","message":"could not find json-rpc.","code":211}, "result": null, "id": null} 

here can find brightcove api error details. error, reason listed as:

211 missingjsonerror not find json-rpc. got null string either json parameter (for non-multipart post) or first part of multipart post.

it looks result telling id null. if passing id, check exists , id type brightcove expecting (ie, brightcove id vs. reference_id).

you can check api params here: brightcove video cloud / media api reference


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -