# Error authenticating with 3DS Server

**URL:** <https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754>\
**Category:** Questions\
**Tags:** payments-api, web-payments-sdk\
**Created:** [April 3, 2025, 4:28am UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754 "2025-04-03T04:28:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 3, 2025, 4:28am UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/1 "2025-04-03T04:28:37Z")

</div>

I’m creating my own api integration to process payments, but im production I get the error:  
{ category: “INVALID\_REQUEST\_ERROR”, code: “BAD\_REQUEST”, detail: “Error authenticating with 3DS Server” }

When I try to follow the guides to SCA, I fail at implementing the rule in the Risk Management center as the option is grayed out with a banner up the top saying “Update your APIs to enable 3D Secure rules.”

The only thing I’ve been able to find on this topic was in this article: [Strong Customer Authentication](https://developer.squareup.com/docs/sca-overview) in the enable SCA section where it said verifyBuyer needed to be called, but that’s depreciated (and my previous implementation used that to no effect.) so I’m wondering what the up do date solution is?

I’m using the current tokenize with no verifyBuyer payment processing flow, so I’m wondering what i need to update?  
The only thing i can think of is the link I’m using to get the web sdk; "  
[https://web.squarecdn.com/v1/square.js](https://web.squarecdn.com/v1/square.js)" but when i try to use v2 it says 403 and i can’t find any mention of this anywhere.

So what to i need to update in my api to make the 3d secure rule not greyed out and remove the banner?

I am using a real debit card for this, so its not that.

Thanks for any help Bryan!!

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [April 3, 2025, 4:29am UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/2 "2025-04-03T04:29:04Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Strong Customer Authentication](https://developer.squareup.com/docs/sca-overview-iap)**
>
> Use Strong Customer Authentication (SCA) to verify buyers for online and in-app payments.

[https://developer.squareup.com/docs/sca-overview-web](https://developer.squareup.com/docs/sca-overview-web)

> **Additional Documentation**
>
> [Strong Customer Authentication](https://developer.squareup.com/docs/sca-overview)  
> [Verify a Buyer](https://developer.squareup.com/docs/in-app-payments-sdk/verify-buyer)  
> [Square Developer](https://developer.squareup.com/docs/app-marketplace/requirements/web-payments-sdk)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 3, 2025, 4:31am UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/3 "2025-04-03T04:31:24Z")

</div>

I did link to that in my question, but the problem is it dosn’t have the answer I’m looking for! 🙂

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 3, 2025, 4:07pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/4 "2025-04-03T16:07:23Z")

</div>

Are you using our new flow where you pass the verification details in the `tokenize()` method. For example:

```auto
  // New payment flow
      async function tokenize(paymentMethod) {
        const verificationDetails = {
          amount: '1.00',
          billingContact: {
            givenName: 'John',
            familyName: 'Doe',
            email: 'john.doe@square.example',
            phone: '3214563987',
            addressLines: ['123 Main Street', 'Apartment 1'],
            city: 'London',
            state: 'LND',
            countryCode: 'GB',
          },
          currencyCode: 'GBP',
          intent: 'CHARGE',
          customerInitiated: true,
          sellerKeyedIn: false,
        };
        const tokenResult = await paymentMethod.tokenize(verificationDetails);
        if (tokenResult.status === 'OK') {
          return tokenResult.token;
        } else {
          let errorMessage = `Tokenization failed with status: ${tokenResult.status}`;
          if (tokenResult.errors) {
            errorMessage += ` and errors: ${JSON.stringify(
              tokenResult.errors,
            )}`;
          }

          throw new Error(errorMessage);
        }
      }

```

🙂

---

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 3, 2025, 11:17pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/5 "2025-04-03T23:17:37Z")

</div>

Thanks Bryan,

yes I am! [🙂]

This nearly identical to what I have, except I pass variables to tokanize, and I only pass name and email to billing contact as the user arrives at a place to collect the services for my app.

Is there anyway you can enable 3d secure on my account please?

thanks for your continued help! [🙂]

J

---

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 3, 2025, 11:22pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/6 "2025-04-03T23:22:42Z")

</div>

> [@Triangle](#):
>
> I’m using the current tokenize with no verifyBuyer payment processing flow

Yup, as mentioned here. 🙂

Do you have any other ideas what it may be?

Is it possible for you to enable 3d secure on my account? my AppID is sq0idp-e9zPkxIt6VeRRfqfOgOIEw.

Your time and assistance is greatly appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 8, 2025, 12:13am UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/7 "2025-04-08T00:13:45Z")

</div>

This issue is still open and any help is greatly appreciated, @josh-square

Our works perfectly in development, but fails in production due to our account not being allowed to use 3d secure.

I’ve confirmed with Bryan that everything we’re using is up to date but still we cannot enable 3d secure on our account and so it fails in production.

Thanks for any and all help! 🙂

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 8, 2025, 3:44pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/8 "2025-04-08T15:44:11Z")

</div>

What’s the exact error message your getting? If your getting an error when trying to verify have you asked the customer to contact their bank? 🙂

---

<div class="post-metadata">

**Author:** ![Triangle](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Triangle](https://developer.squareup.com/forums/u/Triangle)\
**Post date:** [April 8, 2025, 11:43pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/9 "2025-04-08T23:43:29Z")

</div>

Hi Bryan,  
As stated above the error is:

> [@Triangle](#):
>
> “Update your APIs to enable 3D Secure rules.”

🙂  
Thanks

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 9, 2025, 4:24pm UTC](https://developer.squareup.com/forums/t/error-authenticating-with-3ds-server/21754/10 "2025-04-09T16:24:19Z")

</div>

Is your page hosted? If so what’s the URL? 🙂
