{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/2149","repository_url":"https://api.github.com/repos/tgalal/yowsup","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/2149/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/2149/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/2149/events","html_url":"https://github.com/tgalal/yowsup/issues/2149","id":242509733,"number":2149,"title":"Send media - Request upload for file XXXX@s.whatsapp.net failed [BOUNTY FOR SOLUTION]","user":{"login":"sealabr","id":21187479,"avatar_url":"https://avatars2.githubusercontent.com/u/21187479?v=4","gravatar_id":"","url":"https://api.github.com/users/sealabr","html_url":"https://github.com/sealabr","followers_url":"https://api.github.com/users/sealabr/followers","following_url":"https://api.github.com/users/sealabr/following{/other_user}","gists_url":"https://api.github.com/users/sealabr/gists{/gist_id}","starred_url":"https://api.github.com/users/sealabr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealabr/subscriptions","organizations_url":"https://api.github.com/users/sealabr/orgs","repos_url":"https://api.github.com/users/sealabr/repos","events_url":"https://api.github.com/users/sealabr/events{/privacy}","received_events_url":"https://api.github.com/users/sealabr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-07-12T20:45:12Z","updated_at":"2017-08-07T18:25:15Z","closed_at":null,"body":"Hello I'm trying to upload media by yowsup, using `RequestUploadIqProtocolEntity` but it's not possible because lambda function allways direct to `onRequestUploadError`, and cant send file ...\r\n\r\n`Request upload for file /tmp/jpeg.jpg for 5524XXXXXXXX@s.whatsapp.net failed`\r\n\r\nI also tried with yowsupCLI using  image send\r\n\r\n<code>/image send 5524XXXXXX /tmp/3DCDA9A9436B01F9A3.jfif</code>\r\n\r\n```\r\nERROR:yowsup.demos.cli.layer:Request upload for file /tmp/3DCDA9A9436B01F9A3.jfif for 5524XXXXXXX@s.whatsapp.net failed\r\nDEBUG:yowsup.layers.logger.layer:rx:\r\n<iq type=\"error\" from=\"s.whatsapp.net\" id=\"1\">\r\n<error text=\"feature-not-implemented\" code=\"501\">\r\n</error>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/320742190","html_url":"https://github.com/tgalal/yowsup/issues/2149#issuecomment-320742190","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/2149","id":320742190,"user":{"login":"pabloruan0710","id":8368140,"avatar_url":"https://avatars0.githubusercontent.com/u/8368140?v=4","gravatar_id":"","url":"https://api.github.com/users/pabloruan0710","html_url":"https://github.com/pabloruan0710","followers_url":"https://api.github.com/users/pabloruan0710/followers","following_url":"https://api.github.com/users/pabloruan0710/following{/other_user}","gists_url":"https://api.github.com/users/pabloruan0710/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloruan0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloruan0710/subscriptions","organizations_url":"https://api.github.com/users/pabloruan0710/orgs","repos_url":"https://api.github.com/users/pabloruan0710/repos","events_url":"https://api.github.com/users/pabloruan0710/events{/privacy}","received_events_url":"https://api.github.com/users/pabloruan0710/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T18:25:14Z","updated_at":"2017-08-07T18:25:14Z","body":"@dietzi try this\r\n```\r\ndef pad(self, s):\r\n        return s + ((16-len(s) % 16) * '{')\r\n```"}}
{"actor":{"display_login":"pabloruan0710"}}