Title: Groupon Sample Code NOT Working
Last modified: September 1, 2016

---

# Groupon Sample Code NOT Working

 *  Resolved [kangenguru](https://wordpress.org/support/users/kangenguru/)
 * (@kangenguru)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/groupon-sample-code-not-working/)
 * Hi,
 * You had previously referenced a Groupon API sample
 * Using the free version of the plugin JSON content importer – unfortunately I 
   am getting this error:
 * Something went wrong fetching URL with JSON-data: A valid URL was not provided.
   error: get of json-data failed – plugin aborted: check url of json-feed problems
   with JSON-structure: check basenode-param
 * The code I used was at this link you had provided:
 * [http://www.reiseliste.de/groupon-api/](http://www.reiseliste.de/groupon-api/)
 *     ```
       [jsoncontentimporter url=“http://partner-api.groupon.com/deals.json?tsToken=US_AFF_0_987654_123456_0″]
       {subloop-array:deals:4}{title}
       {highlightsHtml:html} Price and Options:
       {subloop-array:deals.options:4}{deals.options.title}: {subloop:deals.options.price:1}{deals.options.price.formattedAmount}{/subloop:deals.options.price}
   
       {/subloop-array:deals.options}
       {/subloop-array:deals}
   
       [/jsoncontentimporter]
       ```
   
 * Please advise.
 * [https://wordpress.org/plugins/json-content-importer/](https://wordpress.org/plugins/json-content-importer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/groupon-sample-code-not-working/#post-7541756)
 * Hi,
 * change the quotation mark inside the shortcode. When copypasting wrong quotation
   marks were inserted.
 * Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Groupon Sample Code NOT Working’ 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/)

## Tags

 * [Groupon](https://wordpress.org/support/topic-tag/groupon/)

 * 1 reply
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/groupon-sample-code-not-working/#post-7541756)
 * Status: resolved