通过yampy发布图片

时间:2015-08-03 09:30:32

标签: python yammer

我可以在yammer中成功发布消息但是当发布图像时

Traceback (most recent call last):
  File "C:\Users\userdir\workspace_new\challenges\yammer.py", line 30, in <module>
    attachment1='C:\\Users\\userdir\\Desktop\\Desktop\\logo.png')
  File "C:\Python27\lib\site-packages\yampy\client.py", line 51, in post
    return self._request("post", path, **kwargs)
  File "C:\Python27\lib\site-packages\yampy\client.py", line 77, in _request
    return self._parse_response(response)
  File "C:\Python27\lib\site-packages\yampy\client.py", line 94, in _parse_response
    raise self._exception_for_response(response)
yampy.errors.ResponseError: 500 error: Internal Server Error

我收到了以下错误

Toast.makeText(getApplication(),text,Toast.LENGTH_LONG).show();

我正在阅读以下文档https://developer.yammer.com/docs/messages-json-post

任何人都可以帮忙吗?

0 个答案:

没有答案