Title: Either 502 error or API error
Last modified: August 21, 2016

---

# Either 502 error or API error

 *  Resolved [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/)
 * Hi Thimo,
 * I have a curious problem: I just moved my website, because the previous host 
   had many server issues. But now I’ve reinstalled Spreadplugin and when I try 
   to open the page with the webshop a number of things can happen:
    1. I get a 502 Proxy Error like this: Proxy Error
    2. The proxy server received an invalid response from an upstream server.
        The 
       proxy server could not handle the request GET /index.php.
    3. Reason: Error reading from remote server
    4. I get a css-less layout of the website, stating I have to check my API or shop
       id
    5. I get a server time out message
 * After checking this entire forum, I decided to limit the amount of articles to
   check if that would help and it actually did: with only 80 items activated it
   did load the shop as it should. Re-activating the items and clearing the cache
   made all off the errors above happen again off course.
 * However I have over 200 items in my shop, which I would like to display.
 * Is there any way to make that happen? Maybe filling the cache in some sort of
   steps (like adding 50 items at a time)? Or refreshing the page like 20 times 
   in a row…?
 * I hope you have a solution for this, because it is kind of frustrating 🙁 Thanks
   in advance for your response!
 * [https://wordpress.org/plugins/wp-spreadplugin/](https://wordpress.org/plugins/wp-spreadplugin/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Thimo Grauerholz](https://wordpress.org/support/users/pr3ss-play/)
 * (@pr3ss-play)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4989934)
 * hm, did you try to load the articles again after getting a timout? sometimes 
   it helps.
 * you may also try this:
    [http://stackoverflow.com/questions/7739870/increase-max-execution-time-for-php](http://stackoverflow.com/questions/7739870/increase-max-execution-time-for-php)
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4989941)
 * Thimo, thanks for your quick reply! I did try to reload them, got 502 again… 
   I’ll look into the link you gave, will update as soon as I can share some results.
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4989943)
 * Hi Thimo,
 * I’ve made the changes to my wp-config.php as mentioned, but it didn’t lead to
   anything. Keep getting 502 now (most of the time, got 1x the page that suggested
   I should check my shop-id).
 * Got any other suggestions?
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4989954)
 * Hi Thimo,
 * I didn’t give up, so I have continuously been refreshing the page since my second-
   last post (one hour ago). Somehow that did the trick: after an entire hour of
   hitting F5 the entire cache got refilled, so I’m fine for now.
 * However, it doesn’t seem solved yet: I don’t feel like doing this every time 
   I add/delete an article or change a price. So I would greatly appreciate it if
   you could look into this a little more. Maybe it is possible to load the products
   in some sort of ‘portions’ if 50? That would involve some mouseclicks, but not
   an hour or so hitting refresh…
 * I look forward to your answer.
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4989989)
 * Hi Thimo,
 * Didn’t clear the cache or anything, but suddenly it gives me the page with “Error
   getting articles. Please check Shop-ID, API and secret.” again, or it 502’s on
   me again. The problem is ongoing I’m afraid… So if you can help me out here, 
   I would be really greatfull.
 *  Plugin Author [Thimo Grauerholz](https://wordpress.org/support/users/pr3ss-play/)
 * (@pr3ss-play)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990144)
 * maybe 3.6.2 may help you 🙂
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990145)
 * I had deactivated the plugin alltogether, since it made it impossible to load
   the page properly. But I will give it a new try, thanks Thimo!
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990146)
 * It didn’t help, keep getting multiple 502’s before it finally loads the shop.
   And it does that on every page of the shop, so I disabled it again. But if you
   figure it out, please let me know, because I do love the plugin, it seems it 
   just can’t handle a lot of shirts… 🙁
 * Thanks anyway though!
 *  Plugin Author [Thimo Grauerholz](https://wordpress.org/support/users/pr3ss-play/)
 * (@pr3ss-play)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990147)
 * please activate debug mode in spreadplugin (in settings) and send me the url 
   please
 *  Thread Starter [daniellev](https://wordpress.org/support/users/daniellev/)
 * (@daniellev)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990149)
 * Hi Thimo,
 * I will do that, just not right now, because I’m running some ad campaignes and
   as soon as the plugin is activated and the cache needs to be filled, it slows
   down or even gives a 502 on the other pages too.
 * My shop concerns the Dutch, and focusses on the WC Soccer right now: I can’t 
   afford any downtime right now.
 * But thanks again, I will contact you when the rush is over 😉

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Either 502 error or API error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-spreadplugin_349cc7.svg)
 * [WP-Spreadplugin](https://wordpress.org/plugins/wp-spreadplugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-spreadplugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-spreadplugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-spreadplugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-spreadplugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-spreadplugin/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [time-out](https://wordpress.org/support/topic-tag/time-out/)

 * 10 replies
 * 2 participants
 * Last reply from: [daniellev](https://wordpress.org/support/users/daniellev/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/either-502-error-or-api-error/#post-4990149)
 * Status: resolved