-
Notifications
You must be signed in to change notification settings - Fork 113
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
Failed to upload image: 400 Bad Request #91
Comments
I think I have found out the solution(bug): fix:
After change:
Cause: Concern: |
Thanks for figuring it out. Do you want to submit a fix, or should I go ahead and make the change? |
It is my pleasure to submit a fix, but please let me test it also on other platform first. |
Excellent. I can test it on Mac. Linux as well, though it requires a little bit more setup. |
Ahh, it would be very helpful if you can, thank you in advance. |
I tested the |
Can I have the permission for committing the new fixing branch? |
If you have a fork of the repository you can submit a pull request. |
Sorry, do you means fork a repository, create a bug fix branch , fix it on the new branch and pull request on that repository? |
Yes:
|
require 'etsy'
Etsy.silent_errors = false
Etsy.api_key='xxxx'
Etsy.api_secret='xxxx'
Etsy.protocol = 'https'
access = {:access_token => 'xxxx', :access_secret => 'xxxx'}
listing = Etsy::Listing.find(yyyy)
Etsy::Image.create(listing, 'C:/temp/test.jpg', access)
Other calling of api all works fine.
I debugged it, the body of raw_response said "please make sure both width and height are greater than 10px", but I am quite sure that test.jpg satisfy this condition.
The text was updated successfully, but these errors were encountered: