question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A general error has occurred with Cardinal (Invalid JWT)

See original GitHub issue

General information

  • SDK version: 3.50.1
  • Drop-in UI: 1.20.0
  • Environment: Production
  • Browser and OS: Unknown

Issue description

We recently started using 3DS 2.0 in our Ember app. After a few days we’ve addressed most issues. However, several times a day we’re seeing this error in our Sentry logs:

BraintreeError: A general error has occurred with Cardinal. See description for more information.

Here is the content of error.details:

{
  originalError: {
    code: 1020, 
    description: "Invalid JWT. Error verifying and deserializing JWT."
  }
}

The error occurs while calling:

await instance.requestPaymentMethod({ threeDSecure });

Is this something we could prevent somehow? We’re seeing a few occurrences of this error every day. Let me know if you need more details. Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gesacommented, Sep 4, 2019

hey @gzurbach, this seems like it might be a job better-suited for our support team at https://help.braintreepayments.com/. Shoot them a message, and they’ll pull myself or someone else on the SDK team back in if we’re needed once they have a little more merchant-specific info.

0reactions
terryyincommented, Jan 9, 2020

Thanks! I will forward this to my supporting thread.

On 9 Jan 2020, at 3:22 PM, Andrej Ruman notifications@github.com wrote:

@terryyin https://github.com/terryyin I contacted braintree support team and they fixed it. It was a configuration issue on their side. Check out the related issue #426 https://github.com/braintree/braintree-web/issues/426 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/braintree/braintree-web/issues/450?email_source=notifications&email_token=AAGASYWL53ULPBPHKGTQXBLQ43GCHA5CNFSM4ITTZYT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIPIWGY#issuecomment-572427035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGASYV42U2RDEWPQ5XESPDQ43GCHANCNFSM4ITTZYTQ.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid JWTs - Cardinal Cruise - Confluence
Claims that are missing or out of scope will result in an error. If a required claim is not included in the JWT...
Read more >
Invalid JWT when downloading java : r/Minecraft - Reddit
when I try to purchase Minecraft it says an error occurred with cardinal and that my JWT is invalid, does anybody know what...
Read more >
three-d-secure/shared/errors.js - Documentation
... Secure - Creation Error Codes * @description Errors that occur when ... Occurs when something went wrong authenticating the JWT from the...
Read more >
JWT (JSON Web Tokens) Errors | Invalid JWT Signature
For my error, invalid_grant:Invalid JWT Signature , the way to resolve wasn't included in the list under JWT error codes. Basically, the Service ......
Read more >
All | .NET - Braintree Developer Documentation
An unexpected error occurred trying to save the merchant account; Support has been ... Either the signature did not verify, or an invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found