WordPress.org

Ready to get started?Download WordPress

Forums

Etsy Shop
[resolved] API reponse should be HTTP 200 (38 posts)

  1. dcrowe13
    Member
    Posted 1 year ago #

    Hello,

    Experiencing the feared HTTP 200 error. Switched to debug mode, here's the output:

    Etsy Shop Debug Mode

    WP_Error Object ( [errors] => Array ( [etsy-shop] => Array ( [0] => Etsy Shop: API reponse should be HTTP 200 ) ) [error_data] => Array ( ) )

    live site

    Any help would be great. Thanks!

    http://wordpress.org/extend/plugins/etsy-shop/

  2. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Could you please update the plugin to version 0.9.2, debug mode will be more verbose.

  3. dcrowe13
    Member
    Posted 1 year ago #

    Running 0.9.2. I updated before I posted here.

  4. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I don't want to be annoying, but with version 0.9.2, Debug output should start with something like

    --- Etsy Request URL ---

    Your debug output start with:

    Etsy Shop Debug Mode
    . Wich suppose that your main etsy_shop.php seem to be version 0.9.1.

    Could you double check please?

  5. dcrowe13
    Member
    Posted 1 year ago #

    No annoyance at all. I am sure, however, that I'm running 0.9.2.

    Screenshot

  6. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, should have more debug info with version 0.9.3.
    I did some corrections/addition to debug mode.

    Please update!

  7. dcrowe13
    Member
    Posted 1 year ago #

    got it. lot's more info for you over on the site now. Let me know what steps, if any, I can take.

    Thanks!

  8. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Seem that shop section 7388789 not exist. Where you take this number?

    Available for your shop:
    12348438 (t-shirts)
    12497441 (stickers)
    12505006 (accessories)

  9. dcrowe13
    Member
    Posted 1 year ago #

    Oh, I was looking in the wrong place. It's up and functional. Thanks for the help!

  10. drschill
    Member
    Posted 1 year ago #

    Hi,

    I configured the Etsy Shop Plugin and I'm getting the "API response should be HTTP 200"

    Here's a screen shot: http://screencast.com/t/uHNGTsJsG

    1. Our Etsy Shop is: OldCornerBookstore
    2. We are using the plugin version 0.9.3
    3. Our tmp folder of the plugin is set to 755 permissions. Also tried 775 and that didn't make a difference.
    4. Code in post: [etsy-include=OldCornerBookstore; 7908390]
    5. Ran Debug mode and got this: http://screencast.com/t/f5w2D1ypWZ

    Thanks,

    David

  11. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Your code in post should be:

    [etsy-include=OldCornerBookstore;7908390]

    Modification: no spaces before the section ID.

  12. drschill
    Member
    Posted 1 year ago #

    Hi,

    Two issues:

    First:

    I made the change you recommended and it didn't work.

    However, I just remembered that I changed my store name a while back. It used to be BostonRareBookworm and when I use the old store name, the plugin works!

    Second:

    Here is a look at how the image connected through the plugin is showing in the blog: http://screencast.com/t/WILImfAxG

    Note the image is kind of truncated/small. The two image at the top are the original images I wanted to use. Can I change the size of the image that is displayed by the plugin?

    Thanks for your time and help! Have a great weekend!

    David

  13. casihist
    Member
    Posted 1 year ago #

    I've followed the advices on this post, however I keep experiencing the same output.
    It is visible here http://casihistorias.com.ar/?page_id=649

    My text in the post is [etsy-include=Casihistorias;7285334]
    Here's my etsy http://www.etsy.com/shop/Casihistorias

    Is there something I'm missing? What could the problem be?

    Thanks for the help!
    Martina.

  14. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    casihist, seem to work now live on your web site?!

    drschill, image show is truncated by Etsy, the original is not used by this plugin at this time.

  15. 8-bitcrowd
    Member
    Posted 1 year ago #

    Hi its me again sorry :(

    After you help me before with the invalid argument report, I try to change the id section, just after try this, i get the:

    API reponse should be HTTP 200

    then I run Debug mode and get this log, I think here is the mistake:

    --- Etsy Request URL ---
    http://openapi.etsy.com/v2/shops/RaptureLondon/sections/117897648/listings/active?api_key=qypfenepr66psbyy81gyhrb4&includes=Images

    my section have 12655421 id number and we can see that here is calling to 117897648 id number right?
    first im not sure if this is the problem, and if it is, i dont know where to fix it, maybe in the temp file?

    Sorry if its not the right answer,just that i try to see if i can understand the deal here, hehehe...:P

    Anyway the error message is this

    WP_Error Object ( [errors] => Array ( [etsy-shop] => Array ( [0] => Etsy Shop: API reponse should be HTTP 200 ) ) [error_data] => Array ( ) )
    Filters:

    So if you can give me any hint to resolve this will be cool!

    Thank you again for the help!

  16. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    1. Make sure that your etsy section id in the etsy-include of the page is 12655421
    2. This is not a tmp file problem in your case, as the request is done every time you refresh the page.

    PS: 117897648 is not a valid section id.

    Result?

  17. 8-bitcrowd
    Member
    Posted 1 year ago #

    Hey!
    Still not working
    i change it to the correct id number:

    http://awesomescreenshot.com/07aq9miac

    Debug mode no active, still the API reponse should be HTTP 200 here:

    http://www.8-bitcrowd.com/portfolio/item-pilot/

    I think im missing something, should i change something?

    Thank you

  18. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Weird. If you go in debug mode you still have section id 117897648?

    In the screenshot, seem to be another page /shop, last URL you give to me was portfolio/item-pilot/. Maybe the problem?

  19. 8-bitcrowd
    Member
    Posted 1 year ago #

    Yes, i change the name of the item! inside wordpress

    So, can be that the problem?
    Sorry i didnt know that i don't have to edit the name.

    So i have to change the title of the item in my wordpress to my original one! right?

    Thanks

  20. 8-bitcrowd
    Member
    Posted 1 year ago #

    I got it! sorry was my mistake, my items was duplicate and in one i have correct section ID and in other no, My mistake sorry!

    thnaks for your time and help

  21. logan3975
    Member
    Posted 1 year ago #

    I am new to WP.org and plugins. This is what I've done so far.

    1. Install plugin.
    2. Activate plugin.
    3. Made tmp folder read/write.
    4. Got my API key and it says it's valid.
    5. Placed [etsy-include=TracyLogan;12050290] on a test post (Floorcloth section ID)

    My etsy site is: http://www.etsy.com/shop/TracyLogan
    My blog test page in debug mode is: http://www.tracyloganstudios.com/wp/hello-world/

    I have read through this forum topic and have tried a few things but I am still getting this error. I hope you can help me fix this issue. Thanks! :)

  22. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Here is the problem:

    You placed this:
    [etsy-include=<em>TracyLogan</em>;12050290]

    Instead of:
    [etsy-include=TracyLogan;12050290]

    Go to your post/page and remove the em tag. Should be ok after.

  23. logan3975
    Member
    Posted 1 year ago #

    Thanks fsheedy! That worked! When I copied it, it must have been in italics and I didn't even think to check that.

  24. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    logan3975: will be nice if you take time to do a review http://wordpress.org/support/view/plugin-reviews/etsy-shop

    Thank you!

  25. gallagherpottery
    Member
    Posted 1 year ago #

    I'm about to give up on this. It seems easy enough, but no matter how much I double check, the correct command line does not seem to work.

    I am inputting the following tag line on my wordpress page

    [etsy-include=gallagherpottery;120832257]

    what I actually get on my page -

    Etsy Debug Mode - version 0.9.3 ---

    Go to Etsy Shop Options page if you wan't to disable debug output.

    --- Etsy Request URL ---

    http://openapi.etsy.com/v2/shops/gallagherpottery/sections/120832257/listings/active?api_key=mckwx9noxquuib1tncvh3jle&includes=Images
    --- Etsy Response ---

    Array ( [headers] => Array ( [date] => Wed, 23 Jan 2013 01:10:56 GMT [server] => Apache [x-ratelimit-limit] => 10000 [x-ratelimit-remaining] => 9987 [x-error-detail] => Not all requested shop sections exist. [x-etsy-request-uuid] => b1P7LkmMzHttg_buRFzKGLBj3S0Q [content-length] => 38 [connection] => close [content-type] => text/plain;charset=UTF-8 ) [body] => Not all requested shop sections exist. [response] => Array ( [code] => 404 [message] => Not Found ) [cookies] => Array ( ) [filename] => )
    Etsy Shop Debug Mode

    WP_Error Object ( [errors] => Array ( [etsy-shop] => Array ( [0] => Etsy Shop: API reponse should be HTTP 200 ) ) [error_data] => Array ( ) )

    --

    Can someone please help???

  26. gallagherpottery
    Member
    Posted 1 year ago #

    Now that I'm looking, I've provided the item id and not the section id. When I provide the correct section code, I get a huge string of text...

    --- Etsy Response ---

    Array ( [headers] => Array ( [date] => Wed, 23 Jan 2013 01:26:08 GMT [server] => Apache [x-ratelimit-limit] => 10000 [x-ratelimit-remaining] => 9984 [x-etsy-request-uuid] => D17vuEjBliI3YiP8f1z0tWccGGWn [connection] => close [content-type] => application/json ) [body] => {"count":13,"results":[{"listing_id":120833190,"state":"active","user_id":9290251,"category_id":69150451,"title":"Carved Texture Star of David Cheese Tray","description":"This hand built stoneware tray features a stamped, hand-carved original texture with an ivory glaze that breaks to a nutmeg, highlighting the texture. The hand pulled 'loopy' handles gives a bit of whimsey to the piece. It's perfect for your favorite cheeses or appetizers, or, just to leave out and admire. The tray is approx. 9" long and sits on 4 little clay feet.","creation_tsz":1358468713,"ending_tsz":1368763200,"original_creation_tsz":1358468713,"last_modified_tsz":1358902742,"price":"35.00","currency_code":"USD","quantity":1,"tags":[],"category_path":["Ceramics and Pottery"],"category_path_ids":[69150451],"materials":[],"shop_section_id":12784991,"featured_rank":0,"state_tsz":1358468713,"url":"http:\/\/www.etsy.com\/listing\/120833190\/carved-texture-star-of-david-cheese-tray?utm_source=etsyshopfornancygall&utm_medium=api&utm_campaign=api","views":6,"num_favorers":0,"shipping_profile_id":157913529,"processing_min":null,"processing_max":null,"who_made":"i_did","is_supply":"false","when_made":"2010_2013","recipient":null,"occasion":null,"style":null,"non_taxable":false,"Images":[{"listing_image_id":417242891,"hex_code":"7B614C","red":123,"green":97,"blue":76,"hue":27,"saturation":38,"brightness":48,"is_black_and_white":false,"creation_tsz":1358468713,"listing_id":120833190,"rank":1,"url_75x75":"http:\/\/img3.etsystatic.com\/014\/0\/5803560\/il_75x75.417242891_go81.jpg","url_170x135":"http:\/\/img3.etsystatic.com\/014\/0\/5803560\/il_170x135.417242891_go81.jpg","url_570xN":"http:\/\/img3.etsystatic.com\/014\/0\/5803560\/il_570xN.417242891_go81.jpg","url_fullxfull":"http:\/\/img3.etsystatic.com\/014\/0\/5803560\/il_fullxfull.417242891_go81.jpg","full_height":648,"full_width":864},{"listing_image_id":417242889,"hex_code":"87745F","red":135,"green":116,"blue":95,"hue":32,"saturation":29,"brightness":52,"is_black_and_white":false,"creation_tsz":1358468713,"listing_id":120833190,"rank":2,"url_75x75":"http:\/\/img1.etsystatic.com\/013\/0\/5803560\/il_75x75.417242889_ckk5.jpg","url_170x135":"http:\/\/img1.etsystatic.com\/013\/0\/5803560\/il_170x135.417242889_ckk5.jpg","url_570xN":"http:\/\/img1.etsystatic.com\/013\/0\/5803560\/il_570xN.417242889_ckk5.jpg","url_fullxfull":"http:\/\/img1.etsystatic.com\/013\/0\/5803560\/il_fullxfull.417242889_ckk5.jpg","full_height":648,"full_width":864},{"listing_image_id":417242899,"hex_code":"866A51","red":134,"green":106,"blue":81,"hue":28,"saturation":39,"brightness":52,"is_black_and_white":false,"creation_tsz":1358468713,"listing_id":120833190,"rank":3,"url_75x75":"http:\/\/img3.etsystatic.com\/010\/0\/5803560\/il_75x75.417242899_31s0.jpg","url_170x135":"http:\/\/img3.etsystatic.com\/010\/0\/5803560\/il_170x135.417242899_31s0.jpg","url_570xN":"http:\/\/img3.etsystatic.com\/010\/0\/5803560\/il_570xN.417242899_31s0.jpg","url_fullxfull":"http:\/\/img3.etsystatic.com\/010\/0\/5803560\/il_fullxfull.417242899_31s0.jpg","full_height":864,"full_width":648},{"listing_image_id":417242897,"hex_code":"876B52","red":135,"green":107,"blue":82,"hue":28,"saturation":39,"brightness":52,"is_black_and_white":false,"creation_tsz":1358468713,"listing_id":120833190,"rank":4,"url_75x75":"http:\/\/img1.etsystatic.com\/009\/0\/5803560\/il_75x75.417242897_cb1i.jpg","url_170x135":"http:\/\/img1.etsystatic.com\/009\/0\/5803560\/il_170x135.417242897_cb1i.jpg","url_570xN":"http:\/\/img1.etsystatic.com\/009\/0\/5803560\/il_570xN.417242897_cb1i.jpg","url_fullxfull":"http:\/\/img1.etsystatic.com\/009\/0\/5803560\/il_fullxfull.417242897_cb1i.jpg","full_height":648,"full_width":864}]},{"listing_id":120832257,"state":"active","user_id":9290251,"category_id":69150451,"title":"Floral Impression Stoneware Serving Basket","description":"This sweet little hand built stoneware basket is just the right size for after dinner mints, olives or nuts. About 7" long, it is made with espresso colored clay and stands on 3 sprigged feet. It has a hand pulled handle and is impressed with a floral decoration accented with a breaking ivory glaze and antique turquoise wash.","creation_tsz":1358468116,"ending_tsz":1368763200,"original_creation_tsz":1358468116,"last_modified_tsz":1358902742,"price":"30.00","currency_code":"USD","quantity":1,"tags":[],"category_path":["Ceramics and Pottery"],"category_path_ids":[69150451],"materials":[],"shop_section_id":12784991,"featured_ra

    and on and on...

    please tell me what I'm doing wrong???

  27. fsheedy
    Member
    Plugin Author

    Posted 1 year ago #

    gallagherpottery,

    Unable debug mode and empty tge etsy shop cache.

    Let me know, should work without any problem.

  28. gallagherpottery
    Member
    Posted 1 year ago #

    Thank you, that worked perfectly and the shop looks great w/the plugin! Will give a positive review for sure. Off to do it.

  29. ginkgostudio
    Member
    Posted 1 year ago #

    -edit-
    SOLVED! I have made the same mistake as a lot of other people, I see. I should include the SECTION ID and not the ITEM ID.
    BTW: you can find this by clicking on one of your Etsy store Categories. It will include a whole category, not an item. Thanks Fsheedy, for making this plugin :) -edit-

    hi Fsheedy,

    I'm also trying to get your plugin to work.
    I receive the following errors:

    At the plugin page:

    Warning: Invalid argument supplied for foreach() in /home/deb41906/domains/ginkgostudio.nl/public_html/wordpress/wp-content/plugins/etsy-shop/etsy-shop.php on line 375

    I want to include this item:
    https://www.etsy.com/listing/120363495/geometric-wooden-coaster-set-4

    And I use:
    [etsy-include=GreenWallNL;120363495]

    I've switched on debug mode, and get the following

    --- Etsy Debug Mode - version 0.9.3 ---
    
    Go to Etsy Shop Options page if you wan't to disable debug output.
    --- Etsy Request URL ---
    http://openapi.etsy.com/v2/shops/GreenWallNL/sections/120363495/listings/active?api_key=5yzqkgg5z8nep7pv5eg2y1c3&includes=Images
    --- Etsy Response ---
    Array ( [headers] => Array ( [date] => Wed, 23 Jan 2013 18:16:55 GMT [server] => Apache [x-ratelimit-limit] => 10000 [x-ratelimit-remaining] => 9996 [x-error-detail] => Not all requested shop sections exist. [x-etsy-request-uuid] => 77re_6JUpm5K8nEIDBuVVj1JC_Lt [content-length] => 38 [connection] => close [content-type] => text/plain;charset=UTF-8 ) [body] => Not all requested shop sections exist. [response] => Array ( [code] => 404 [message] => Not Found ) [cookies] => Array ( ) [filename] => )
    Etsy Shop Debug Mode
    WP_Error Object ( [errors] => Array ( [etsy-shop] => Array ( [0] => Etsy Shop: API reponse should be HTTP 200 ) ) [error_data] => Array ( ) )

    Any ideas?

  30. presstheenvelope
    Member
    Posted 1 year ago #

    I am also getting the 'API reponse should be HTTP 200' error. Below is the output from debug mode. (When I copy the URL from the Etsy Request URL section into my browser, I get output that includes my shop listings from Etsy, so that seems to be working that way.) I noticed that the "presstheenvelope/sections/12998402" section of the URL is in italics -- could that be causing the issue since the Etsy response shows formatting around that section of the URL in the debug details?

    Thanks,
    Katie

    --- Etsy Request URL ---
    http://openapi.etsy.com/v2/shops/presstheenvelope/sections/12998402/listings/active?api_key=4peenqdxy83gwbczfdvemxvw&includes=Images
    --- Etsy Response ---
    Array ( [headers] => Array ( [date] => Wed, 30 Jan 2013 01:06:37 GMT [server] => Apache [x-ratelimit-limit] => 10000 [x-ratelimit-remaining] => 9959 [x-error-detail] => The uri '/shops/<em>presstheenvelope/sections/12998402</em>/listings/active' doesn't map to a valid command [x-etsy-request-uuid] => otNBMqs2xFWkH9KwBGKJsug8eXcw [content-length] => 135 [connection] => close [content-type] => text/plain;charset=UTF-8 ) [body] => The uri '/shops/<em>presstheenvelope/sections/12998402</em>/listings/active' doesn't map to a valid command [response] => Array ( [code] => 404 [message] => Not Found ) [cookies] => Array ( ) [filename] => )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic