Issues creating an event check-in landing page - Need help with code
I have created a landing page template using Unlayer, a WYSIWYG email and web page builder. The goal of this landing page is for registrants to confirm or deny their attendance prior to an event. Based on the contact's selection, the information will feed over to a Custom Object telling us the name of the event, date, location, and event status (attended, cancelled) of that contact. The landing page looks fine, but isn't functional. It's giving a 402 error when I try to enter my email and click the buttons.
I'm hoping someone can point me in the right direction on how I can accomplish this. I have access to developers, but they aren't very familiar with Marketo, so the more information I'm able to provide, the better.
In addition to the code below, I have created the Custom Object for Events, and have fields under the Custom Object for Event Name, Event Date, Event Location, and Event Status. I would like the Event Name to be dynamically populated based on the token used under the Events folder in Marketing Activities. The token we are currently using is {{my.Title of Event}}.
I have redacted the API Token from the code below due to security purposes, but everything else is the same. My biggest goal right now is testing this landing page to ensure the information is populating inside of the Custom Object.
Thank you!