# Webhook Form Issue

**URL:** <https://forums.realmacsoftware.com/t/webhook-form-issue/53632>\
**Category:** Elements\
**Created:** [January 14, 2026, 4:39pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632 "2026-01-14T16:39:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnhiggins](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/johnhiggins/32/33610_2.png) [@johnhiggins](https://forums.realmacsoftware.com/u/johnhiggins)\
**Post date:** [January 14, 2026, 4:39pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632/1 "2026-01-14T16:39:37Z")

</div>

Hi,

I’ve been trying for hours to get a simple contact form set up. Tried using SMTP, ditched that and been trying to use a webhook. Set up a Zap and pasted in the URL. When I try and submit the form I get the following:

`{“success”:false,“error”:“API access restricted to same-server requests only”,“timestamp”:“2026-01-14T16:34:35+00:00”}`

I’m using PHP 8.3 and the contact form file extension is .php. Weirdly, there’s no logs in the /rw/elements/com.realmac.corepack/api/logs folder.

One thing to note, is that I’m publishing the Elements project to a folder off of root called new-site whilst I am developing this site.

Could that be causing the issue?

Thanks,

John

---

<div class="post-metadata">

**Author:** ![Jupeman](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jupeman](https://forums.realmacsoftware.com/u/Jupeman)\
**Post date:** [January 14, 2026, 5:29pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632/2 "2026-01-14T17:29:19Z")

</div>

I’m not sure if this is going to help, but I was just struggling to have a simple form work and I found the root cause. In my case I was using the “Form: Clean Contact” form from the Essentials pack. I found that two name fields in the templates were not completed correctly and were causing sends to fail. Broadly speaking, I think you want to ensure each form field has a unique name. Further, if a form field doesn’t have a unique name, it will show up with a crazy string in the email that is sent using the simple email template. To avoid this, ensure each field has a name. In the case of the Essentials template, the Message field was named the same as the Email field, this cause immediate form failure. The Enquiry field was also missing a name entirely.

(Btw, my form is now working with SMTP)

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [January 14, 2026, 5:35pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632/3 "2026-01-14T17:35:47Z")

</div>

> [@johnhiggins](#):
>
> Tried using SMTP, ditched that

If you want to give SMTP a go again, I can _usually_ get that working (depending on the web host). No promises though.

---

<div class="post-metadata">

**Author:** ![johnhiggins](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/johnhiggins/32/33610_2.png) [@johnhiggins](https://forums.realmacsoftware.com/u/johnhiggins)\
**Post date:** [January 14, 2026, 5:48pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632/4 "2026-01-14T17:48:53Z")

</div>

Thanks. Just giving the SMTP another go. Input all the details and get the same error.

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [January 14, 2026, 5:50pm UTC](https://forums.realmacsoftware.com/t/webhook-form-issue/53632/5 "2026-01-14T17:50:54Z")

</div>

Can you link me to the Contact Page that you published online? If you prefer to send privately you can send me a DM here and I can take a look at it and communicate with you there.
