# Stuck Ongoing post import

**URL:** <https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835>\
**Category:** Wordpress Plugin\
**Created:** [October 30, 2020, 9:16pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835 "2020-10-30T21:16:33Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taylor](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/taylor/32/1492_2.png) [@Taylor](https://www.patreondevelopers.com/u/Taylor)\
**Post date:** [October 30, 2020, 9:16pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/1 "2020-10-30T21:16:33Z")

</div>

Hey there, I have an issue where my patreon plugin is not syncing my posts. It synced a handful, then stopped. I’m attempting to start from scratch with it, but no matter what I do every time I come back to the app it is stuck with “there is an ongoing post import”

I’ve tried changing the sync/publish posts settings to all read “NO”, disconnecting/reconnecting my patreon account, deleting the client on Patreon, deactivated/reactivating the plugin, uninstalling it and reinstalling it. And no matter what, it ALWAYS says “there is an ongoing post import” and whenever I push “Import next batch” it comes back with the error “Failed to get posts from Patreon”

I also paid for the Pro plugin, which I disabled for the time being until I figure out this issue.

I have no idea what to do to make this work, help?

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 2, 2020, 4:17pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/2 "2020-11-02T16:17:34Z")

</div>

What happens if you click the ‘import next batch’ button at post import section?

---

<div class="post-metadata">

**Author:** ![Sister\_Vassa\_Larin](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sister_vassa_larin/32/1501_2.png) [@Sister\_Vassa\_Larin](https://www.patreondevelopers.com/u/Sister_Vassa_Larin)\
**Post date:** [November 8, 2020, 2:56am UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/3 "2020-11-08T02:56:10Z")

</div>

I’m having this same issue. When I click the ‘import next batch’ button it says ‘failed to get posts from Patreon’.

---

<div class="post-metadata">

**Author:** ![Taylor](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/taylor/32/1492_2.png) [@Taylor](https://www.patreondevelopers.com/u/Taylor)\
**Post date:** [November 10, 2020, 1:27am UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/4 "2020-11-10T01:27:33Z")

</div>

As I said in my original post, “whenever I push ‘Import next batch’ it comes back with the error ‘Failed to get posts from Patreon’”

---

<div class="post-metadata">

**Author:** ![Sister\_Vassa\_Larin](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sister_vassa_larin/32/1501_2.png) [@Sister\_Vassa\_Larin](https://www.patreondevelopers.com/u/Sister_Vassa_Larin)\
**Post date:** [November 10, 2020, 7:29pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/5 "2020-11-10T19:29:56Z")

</div>

Please provide additional help! I need the post import to work. I’ve tried deactivation and reactivation, deleting and re-installing, updating my API key and nothing is making the posts import. I am receiving the same error as Taylor.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 11, 2020, 9:05pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/7 "2020-11-11T21:05:01Z")

</div>

Your sites both may have lost connection to Patreon. Following the below steps in the below tutorial may help:

> [@bulb How to upgrade your Patreon WordPress to use API v2](https://www.patreondevelopers.com/t/how-to-upgrade-your-patreon-wordpress-to-use-api-v2/3249/):
>
> You can follow the below simple steps to upgrade your Patreon WordPress installation to use API v2, which is required by many advanced features like post sync. 1 - Visit “Patreon settings” menu in your WP admin 2 - Click ‘Connection details’ button 3 - Clear all fields which you can clear, and click Save. 4 - Visit the below page that lists the apps you have at Patreon: 5 - Find the app for your website. You can confirm the app by checking the ‘Redirect uri’ value for the app, visible in …

---

<div class="post-metadata">

**Author:** ![Taylor](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/taylor/32/1492_2.png) [@Taylor](https://www.patreondevelopers.com/u/Taylor)\
**Post date:** [November 12, 2020, 6:42pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/8 "2020-11-12T18:42:06Z")

</div>

I have done this already. And I just tried it again. I followed each step exactly, and the issue still persists.  
Something I noticed:  
Even after I disconnect my Patreon site (by deleting the app api on patreon AND clearing all the connection details field within the patreon wordpress app), it still shows that “there is an ongoing post import” at the bottom of the app settings. Even after I disconnect it.  
I’ve also tried completely deactivating and deleting the app from my wordpress plugins, and reinstalling it. No matter what I do, it still says “there is an ongoing post import” at the bottom.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 17, 2020, 5:46pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/9 "2020-11-17T17:46:58Z")

</div>

Right, when the import has failed and the site is not be able to contact Patreon, it would show that an import still ongoing.

What happens if you click ‘Import next batch’?

---

<div class="post-metadata">

**Author:** ![Taylor](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/taylor/32/1492_2.png) [@Taylor](https://www.patreondevelopers.com/u/Taylor)\
**Post date:** [November 17, 2020, 8:51pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/10 "2020-11-17T20:51:15Z")

</div>

As I’ve said three times now, “whenever I push ‘Import next batch’ it comes back with the error ‘Failed to get posts from Patreon’”  
This happens every time.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 20, 2020, 5:52pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/11 "2020-11-20T17:52:24Z")

</div>

That points to a potential situation in which Patreon api connection may be prevented by your host, security plugins or any security measure which you may have at your site or host.

Have you contacted your host and asked whether connections to Patreon may be blocked?

---

<div class="post-metadata">

**Author:** ![Sister\_Vassa\_Larin](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sister_vassa_larin/32/1501_2.png) [@Sister\_Vassa\_Larin](https://www.patreondevelopers.com/u/Sister_Vassa_Larin)\
**Post date:** [November 22, 2020, 9:04pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/12 "2020-11-22T21:04:55Z")

</div>

Nothing is blocked from my host.

---

<div class="post-metadata">

**Author:** ![Sister\_Vassa\_Larin](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sister_vassa_larin/32/1501_2.png) [@Sister\_Vassa\_Larin](https://www.patreondevelopers.com/u/Sister_Vassa_Larin)\
**Post date:** [November 25, 2020, 3:41am UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/13 "2020-11-25T03:41:12Z")

</div>

Here is my last error if this helps.

**0 days ago**

get\_posts - API v2 Class - UUID f9020251-fa63-4de4-8d0d-abc6f7eb6d2e - Response code: 400 Response :{“errors”:[{“code”:3,“code\_name”:“ParameterInvalid”,“detail”:“Invalid parameter for ‘page[cursor]’: Invalid or expired cursor.”,“id”:“f9020251-fa63-4de4-8d0d-abc6f7eb6d2e”,“source”:{“parameter”:“page[cursor]”},“status”:“400”,“title”:“Invalid value for parameter ‘page[cursor]’.”}]}

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 25, 2020, 4:35pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/14 "2020-11-25T16:35:28Z")

</div>

Does the cron work at your WP site?

---

<div class="post-metadata">

**Author:** ![Sister\_Vassa\_Larin](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/sister_vassa_larin/32/1501_2.png) [@Sister\_Vassa\_Larin](https://www.patreondevelopers.com/u/Sister_Vassa_Larin)\
**Post date:** [November 25, 2020, 7:49pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/15 "2020-11-25T19:49:27Z")

</div>

What is the cron? Everything was working initially and then I stopped the import because the imported posts did not include the audio link. I thought if I paused or stopped it I could adjust what info was being pulled in, then realized there are no settings like that and attempted to re-engage the import and it hasn’t worked since.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 25, 2020, 9:50pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/16 "2020-11-25T21:50:42Z")

</div>

Cron is the important background process which WP sites run tasks that need to be run in the background.

> **[Advanced Cron Manager – debug & control](https://wordpress.org/plugins/advanced-cron-manager/)**
>
> View, pause, remove, edit and add WP Cron events and schedules.

You can install this particular cron manager/viewer and see the list of cron jobs.

Particularly the status of the cron job that pertains to Patreon post import is important. Try to find out when was the last time it ran.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 26, 2020, 8:53pm UTC](https://www.patreondevelopers.com/t/stuck-ongoing-post-import/3835/17 "2020-11-26T20:53:11Z")

</div>

1.6.9 has just been published and it has a fix which will likely solve that problem for you. Just upgrade and click ‘Import next batch’. It should delete the expired cursor and let import start from scratch.
