# Importing Content into Ghost - Error

**URL:** <https://forum.ghost.org/t/importing-content-into-ghost-error/13518>\
**Category:** Migrations\
**Created:** [April 14, 2020, 4:39pm UTC](https://forum.ghost.org/t/importing-content-into-ghost-error/13518 "2020-04-14T16:39:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [April 14, 2020, 5:28pm UTC](https://forum.ghost.org/t/importing-content-into-ghost-error/13518/4 "2020-04-14T17:28:51Z")

</div>

Just saw your post on this thread:

> [@Wordpress to Ghost Migration Update](https://forum.ghost.org/t/wordpress-to-ghost-migration-update/1043/62):
>
> Hey, what we ended up doing was fixing the wordpress plugin, by just adding a $posts\_args array value in the plugin to control the number of posts that are exported at one time (line 302 in the plugin). For example, we added an argument ‘posts\_per\_page’ =\> 50. This worked b/c now we only export 50 posts at a time. However, we can’t actually import anything on the Ghost application. We keep getting the following error on the ghost side: “Failed to load resource: ghost/api/v3/admin/db/:1 the se…

A 504 error suggests that your proxy in front of Ghost (e.g. nginx) cancelled the request because it took too long. This is normal for larger imports since there’s more data to process.

Take a look at this post for Nginx configuration:

> [@Wordpress to Ghost Migration Update](https://forum.ghost.org/t/wordpress-to-ghost-migration-update/1043/46):
>
> hi @javipas - thank you for the feedback. Much appreciated. +1 Regarding generating the zip - I was able to zip just under 3GB in around 20 to 30 min on a shared hosting so 2000 seconds should be a good base amount but if you can, try to increase it some more, maybe try 60min / 3600 seconds. The PHP max\_execution\_time does however seem to be reporting correctly so maybe there’s something else on the system causing a timeout. I recommend checking the [NGINX proxy\_read\_timeout value](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout). Please le…

---

_[View the full topic](https://forum.ghost.org/t/importing-content-into-ghost-error/13518)._
