Title: EMPTY api-answer: No JSON received
Last modified: January 28, 2021

---

# EMPTY api-answer: No JSON received

 *  Resolved [ashraf999](https://wordpress.org/support/users/ashraf999/)
 * (@ashraf999)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/)
 * Hello,
 * I am just using the importer for the first time but getting some trouble with
   it. I could see the json results on browser without issues. But Elementor is 
   generating following error when I use the following shortcode. Kindly advise:
 *     ```
       [jsoncontentimporter url=https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxx debugmode="10" ]
       title: {title}: link: {link}  <br>
       [/jsoncontentimporter]
       ```
   
 * Error Generated by debugger:
 * DEBUG:Cache is NOT active
    DEBUG:try to retieve this url: [https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxx](https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxx)
   DEBUG: wp_remote_get to [https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxxxxx](https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxxxxx)
   DEBUG: arguments: Array ( [timeout] => 5 [headers] => Array ( [Authorization]
   => Bearer [https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/runs?token=6HEuJWe96HXtPrsHdGaBoGhPd](https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/runs?token=6HEuJWe96HXtPrsHdGaBoGhPd))[
   sslverify] => ) DEBUG: error getting URL:cURL error 28: Operation timed out after
   5000 milliseconds with 0 bytes received DEBUG: no data received: check url of
   json-feed
 * EMPTY api-answer: No JSON received – is the API down? Check the URL you use in
   the shortcode!
    -  This topic was modified 5 years, 4 months ago by [ashraf999](https://wordpress.org/support/users/ashraf999/).
    -  This topic was modified 5 years, 4 months ago by [ashraf999](https://wordpress.org/support/users/ashraf999/).
    -  This topic was modified 5 years, 4 months ago by [ashraf999](https://wordpress.org/support/users/ashraf999/).
    -  This topic was modified 5 years, 4 months ago by [ashraf999](https://wordpress.org/support/users/ashraf999/).

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13974289)
 * Hi,
 * “Operation timed out after 5000 milliseconds with 0 bytes received”
    is the error-
   message. You can add urlgettimeout=100 or so to the shortcode. Then the Plugn
   tries 100 sec to get the URL. Yet the default 5 sec =5000 milliseconds is used.
 * When I tried to get [https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxx](https://api.apify.com/v2/actor-tasks/bqRIIPn4uIPWWGB6s/run-sync-get-dataset-items?token=xxxxxxxxxxxxxxxxx)
   
   I gota very fast answer (an error but an answer). So I guess increasing urlgettimeout
   does not solve your problem. The question is: – is your wordpress-php able to
   retrieve URLs? Try [http://api.json-content-importer.com/extra/json/1.json](http://api.json-content-importer.com/extra/json/1.json)
   to check that. – if this is not successful ask your server-hoster -it it’S ok
   but apify.com not: are you banned from that API?
 * Bernhard
    -  This reply was modified 5 years, 4 months ago by [berkux](https://wordpress.org/support/users/berkux/).
 *  Thread Starter [ashraf999](https://wordpress.org/support/users/ashraf999/)
 * (@ashraf999)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13974906)
 * I am still getting the error. I tried [http://api.json-content-importer.com/extra/json/1.json](http://api.json-content-importer.com/extra/json/1.json)
   and it is working just fine. I am not really sure why I could display results
   of this api on any browser but not on Elementor
    -  This reply was modified 5 years, 4 months ago by [ashraf999](https://wordpress.org/support/users/ashraf999/).
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13974928)
 * so you know that your server is able to get URLs.
 * you might try [https://www.kux.de/extra/json/jci-step5.json](https://www.kux.de/extra/json/jci-step5.json)
   
   as well as this is https
 * what if you switch off elementor and try it in a ordinary page?
 *  Thread Starter [ashraf999](https://wordpress.org/support/users/ashraf999/)
 * (@ashraf999)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13975164)
 * I tried [https://www.kux.de/extra/json/jci-step5.json](https://www.kux.de/extra/json/jci-step5.json)
   and it is working fine as well. I switched to the default editor of wordpress
   but still it is generating the same exact error. I have no clue what is wrong
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13977633)
 * well, try just
    [https://api.apify.com/](https://api.apify.com/) any success 
   getting JSON? If not ask your server-hoster if he has some security-settings?

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

The topic ‘EMPTY api-answer: No JSON received’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/debugcache-is-not-active/#post-13977633)
 * Status: resolved