dsy1971 2016-03-24 02:52
浏览 58

Dailymotion api上传错误

I can upload video with dailymotion api with PHP but when Upload Suspended by dailymotion i can't receive error code from my upload request. My php page turn 500 internal server error. Api explorer give error result but my php script not give any result and turn 500 internal server error. How can i receive error code.

  • 写回答

1条回答 默认 最新

  • dongxia19772008 2016-03-25 10:43
    关注

    You say you receive a 500 internal server error. 500 is the error code, so I don't understand your request. If you want to know more about error codes at Dailymotion, here is the page to read: https://developer.dailymotion.com/api#error-codes

    Basically, you are supposed to receive an error with different information in the message body: code, messsage, type, info, etc. Please read this error to understand the root of your issue.

    Regarding upload limit, Dailymotion has a policy of 4 videos maximum per hour. If you want to read the up-to-date limits, refer to this section: https://developer.dailymotion.com/api#rate-limit

    Some adding: regarding 500 error, it is probably sent by your server if you're not catching errors returned by Dailymotion API. I recommend you to read about it, maybe something like PHP Fatal error: Uncaught exception 'Exception'

    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看