Title: API notifications with empty variables
Last modified: August 30, 2016

---

# API notifications with empty variables

 *  [dan.fitmedia](https://wordpress.org/support/users/danfitmedia/)
 * (@danfitmedia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/api-notifications-with-empty-variables/)
 * Hi,
 * Anyone ever had trouble with the API notifications sending empty variables?
 * To make sure it wasn’t my script causing the problem, I have set it to email 
   me a print of each GET variable from the URL. And every time, the variable names
   are there, but the values are empty.
 * My URL looks like this (with the correct domain) –
 * [http://www.mydomain.com/sc-email-update.php?action=1&name=%%user_first_name%%&email=%%user_email%%](http://www.mydomain.com/sc-email-update.php?action=1&name=%%user_first_name%%&email=%%user_email%%)
 * The “action” variable passess successfully, but everything else is blank.
 * Any suggestions would be greatly appreciated.
 * Many thanks,
 * Dan
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [dan.fitmedia](https://wordpress.org/support/users/danfitmedia/)
 * (@danfitmedia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/api-notifications-with-empty-variables/#post-6281145)
 * I forgot to mention, I also get the API notification email direct from s2Member
   which has the variables all filled in. I’m very confused!!
 * Did I miss something in the URL?

Viewing 1 replies (of 1 total)

The topic ‘API notifications with empty variables’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Blank](https://wordpress.org/support/topic-tag/blank/)
 * [empty](https://wordpress.org/support/topic-tag/empty/)

 * 1 reply
 * 1 participant
 * Last reply from: [dan.fitmedia](https://wordpress.org/support/users/danfitmedia/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/api-notifications-with-empty-variables/#post-6281145)
 * Status: not resolved