# wixEvents.getForm(eventId) returning error

**URL:** <https://forum.wixstudio.com/t/wixevents-getform-eventid-returning-error/38019>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [July 29, 2022, 4:40pm UTC](https://forum.wixstudio.com/t/wixevents-getform-eventid-returning-error/38019 "2022-07-29T16:40:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug-antill](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@doug-antill](https://forum.wixstudio.com/u/doug-antill)\
**Post date:** [July 29, 2022, 4:40pm UTC](https://forum.wixstudio.com/t/wixevents-getform-eventid-returning-error/38019/1 "2022-07-29T16:40:46Z")

</div>

I’m completely bamboozled by this. I’m trying to retrieve the form for a published event but it’s just returning this error.

```javascript
Error: Ambassador client request failed: HTTP STATUS: -1 
RESPONSE: "Failed to fetch" 
See the httpStatus and response fields for more information.

```

I’ve stripped everything out and the error is being caused by

```javascript
  eventId="f58c2211-bb64-4d86-82fb-433eb709adfb";
  wixEvents.getForm(eventId)
  .then((result) => {
    console.log(result);
  })
  .catch( (error) => {
    console.error(error);
  })

```

Can anyone offer a cause or even a clue as to what might be going on?

---

<div class="post-metadata">

**Author:** ![doug-antill](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@doug-antill](https://forum.wixstudio.com/u/doug-antill)\
**Post date:** [July 29, 2022, 4:51pm UTC](https://forum.wixstudio.com/t/wixevents-getform-eventid-returning-error/38019/2 "2022-07-29T16:51:31Z")

</div>

I’ve just tried on the published site and it isn’t working there either.  
I know there was a bug with wix-members.getMember last December which was giving the same error error but I can’t find anything showing how that was resolved.
