Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

material add 41005 #63

Closed
hlltc opened this issue Oct 28, 2015 · 7 comments
Closed

material add 41005 #63

hlltc opened this issue Oct 28, 2015 · 7 comments

Comments

@hlltc
Copy link
Contributor

hlltc commented Oct 28, 2015

use material add to upload a image, always this error:
block in request': media data missing hint: HjjhHa0639ent1 (Wechat::ResponseError)

any help? plz

@Eric-Guo
Copy link
Owner

Does it works if using wechat command line? using public account or enterprise account? any stack trace

@hlltc
Copy link
Contributor Author

hlltc commented Oct 29, 2015

It is 41005 no matter I use wechat command or wechat.material_add in .rb with a public account.
However, wechat.media_create is ok with the same account and same media file. But I want to upload a forever image material not a temp media.

@hlltc
Copy link
Contributor Author

hlltc commented Oct 29, 2015

I also used rest-client to upload a material, and got 41005.
But it succeeded when I used postman to add a material.
It seems to be a bug of wechat official API.

@Eric-Guo
Copy link
Owner

resolved version v0.6.3 by @hlltc himself at #67

@cestivan
Copy link

cestivan commented Jan 4, 2016

This problem still appears in 0.6.8. wechat.media_create is ok with the same account and same media file.

@Eric-Guo Eric-Guo reopened this Jan 4, 2016
@Eric-Guo
Copy link
Owner

Eric-Guo commented Jan 6, 2016

@cestivan can you try 0.6.9? material_add is break due to 0.7.0 using http instead of rest-client, but still have some problem in http gems.

@Eric-Guo Eric-Guo closed this as completed Jan 6, 2016
@Eric-Guo
Copy link
Owner

Eric-Guo commented Jan 6, 2016

for the http can not support material_add, there is #78 for it, so please using #78 instead of this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants