# Bug in code for double opt in email feature?

**URL:** <https://community.hubspot.com/t/bug-in-code-for-double-opt-in-email-feature/100921>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [February 23, 2024, 2:37pm UTC](https://community.hubspot.com/t/bug-in-code-for-double-opt-in-email-feature/100921 "2024-02-23T14:37:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KLohmeier](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/klohmeier/32/199649_2.png) [@KLohmeier](https://community.hubspot.com/u/KLohmeier)\
**Post date:** [February 23, 2024, 2:37pm UTC](https://community.hubspot.com/t/bug-in-code-for-double-opt-in-email-feature/100921/1 "2024-02-23T14:37:10Z")

</div>

When working to create a double opt in - and when testing the emails, the confirm button does not work. It’s been tested on our internal business emails as well as two personal emails. We think think there might be an error in the code - as highlighted below. If this is not the issue, can someone tell us what the problem might be? Thanks!

 ![HubSpot Confirm Button .png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a3ff9477da29a617f32bccc2cc8cbe2dc0583132.png)  
Double Opt-In Code

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [March 8, 2024, 4:07am UTC](https://community.hubspot.com/t/bug-in-code-for-double-opt-in-email-feature/100921/2 "2024-03-08T04:07:34Z")

</div>

Hi @KLohmeier if you suspect a bug in the code, I would reach out to HubSpot Support directly to verify since the code isn’t directly editable.
