Title: Bug with Elementor Forms and nested JSON values
Last modified: October 14, 2025

---

# Bug with Elementor Forms and nested JSON values

 *  Resolved [sofie1ele](https://wordpress.org/support/users/sofie1ele/)
 * (@sofie1ele)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/bug-with-elementor-forms-and-nested-json-values/)
 * Hi,
 * I tested out the PRO version with a friend with Elementor Pro Form.
   The plugin
   works only when using JSON and separate parameters : value pairs. So for each
   value, an extra value pair in the settings under each other.
 * However with complex nested json values, it fails (nested in values).
   It works
   when the parameters is nested and has a simple value: (action:name), or when 
   it has a “first level nested values” . `{"key1":"(action:value1)"}`.
 * The problem: when I wanted to add a SECOND level nested value, then It gave an
   error, and the body output was just NULL. So something like this failed always:
   `{"
   key1":{"stringValue":"(action:value1)"}}`. As I chose for the body “json coding”,
   also in the header, the plugin then added extra faulty ” ” to the output as I
   could see in the logs. This gave the error, as the APGET API output JSON, did
   not match the JSON format required by the external system that received it. Maybe
   a technique to prevent the adding of extra ” ” ‘s by WPGET api could fix this
   in functions.php (or maybe escaping some characters).So the solution would be
   to enter the 1 whole nested JSON string in the BODY value field (without parameter),
   and with RAW CODING, the output is always BODY > NULL. Even with the simples 
   one-elementor-form-field test, without any nested fields. So even this gives 
   a body > null in the “action logs”:`{"key1":"(action:value1)"}`This adding of
   the whole multi-level nested JSON with all Elementor field values (action:values)
   would be the simplest solution but unfortunately WPGETAPI gives an error here,
   although this technique is recommended in your own support pages. The issue stays
   even when I remove the Content-Type : application/json from the Header. The issue
   stayed even when I disabled all other plugins, and reverted to only standard 
   theme / elementor / wpgetapi pro.
 * I followed all your docs, and I managed to get an Elementor form pushed with 
   the API, but only the simple fields, not the more nested fields, that need to
   be pushed externally in the correct multi-layered nested JSON, required by the
   external API. So I know how to do the basics and do authentication with base64
   etc. I also know the exact correct JSON by the server from the API response.
 * So there seems to be real issues with WPGETAPI PRO & Elementor Pro forms, which
   made me wonder if I should purchase your plugin on my own project or not, as 
   I had this bad test with my friend here. Maybe this is too complex and I need
   another solutions ?
   Hope you can straighten this out or clarify ?
 * Best regards
    -  This topic was modified 7 months, 4 weeks ago by [sofie1ele](https://wordpress.org/support/users/sofie1ele/).
    -  This topic was modified 7 months, 4 weeks ago by [sofie1ele](https://wordpress.org/support/users/sofie1ele/).
    -  This topic was modified 7 months, 4 weeks ago by [sofie1ele](https://wordpress.org/support/users/sofie1ele/).
    -  This topic was modified 7 months, 4 weeks ago by [sofie1ele](https://wordpress.org/support/users/sofie1ele/).

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

 *  Plugin Support [Nikunj Hatkar](https://wordpress.org/support/users/nikunj8866/)
 * (@nikunj8866)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/bug-with-elementor-forms-and-nested-json-values/#post-18681439)
 * Hi
 * Thank you for the detailed explanation, that’s very helpful in understanding 
   the issue.
 * To investigate this further, please create a support ticket here: [https://wpgetapi.com/support-ticket/](https://wpgetapi.com/support-ticket/).
 * When submitting the ticket, kindly include screenshots of your setup (Elementor
   form configuration, WPGetAPI endpoint settings, and body setup).
 * We’ll review it on an urgent basis and work to resolve the issue as soon as possible.
 * Thanks,
 *  Plugin Support [Nikunj Hatkar](https://wordpress.org/support/users/nikunj8866/)
 * (@nikunj8866)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/bug-with-elementor-forms-and-nested-json-values/#post-18693579)
 * Hi,
 * As there’s been no response for a week, we’re closing this thread. If you still
   need assistance, please feel free to open a new support ticket.
 * Thanks.

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

The topic ‘Bug with Elementor Forms and nested JSON values’ is closed to new replies.

 * ![](https://ps.w.org/wpgetapi/assets/icon-256x256.jpg?rev=2848998)
 * [WPGet API - Connect to any external REST API](https://wordpress.org/plugins/wpgetapi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpgetapi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpgetapi/)
 * [Active Topics](https://wordpress.org/support/plugin/wpgetapi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpgetapi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpgetapi/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nikunj Hatkar](https://wordpress.org/support/users/nikunj8866/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/bug-with-elementor-forms-and-nested-json-values/#post-18693579)
 * Status: resolved