title: Elementor form custom webhook returns "error" message
body: <p>I'm using Elementor form with custom webhook but every time I submit it, I just get "error" message. </p>
  
  <p><a href="https://i.stack.imgur.com/88Lgz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/88Lgz.png" alt="enter image description here"></a></p>
  
  <p>In my functions.php file I've got Form New Record Action according <a href="https://developers.elementor.com/forms-api/" rel="nofollow noreferrer">Forms API documentation</a>. </p>
  
  <pre><code>// A send custom WebHook
  add_action( 'elementor_pro/forms/new_record', function( $record, $handler ) {
  
      $form_name = $record-&gt;get_form_settings( 'form_name' );
  
      if ( 'test_form' !== $form_name ) {
          return;
      }
  
      $raw_fields = $record-&gt;get( 'fields' );
      $fields = [];
      foreach ( $raw_fields as $id =&gt; $field ) {
          $fields[ $id ] = $field['value'];
      }
  
      wp_remote_post( 'https://example.com', [
          'body' =&gt; $fields,
      ]);
  }, 10, 2 );
  </code></pre>
  
  <p>I have "wp_remote_post" there with URL I want to post the form to, but it does not redirect me or something, just returning "error" message. </p>
  
  <p>On Elementor editor I added Webhook action after form submission</p>
  
  <p><a href="https://i.stack.imgur.com/mmv4s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mmv4s.png" alt="enter image description here"></a></p>
  
  <p>What could be wrong? Thanks</p>