Create Client Error For Bundled JS
See original GitHub issueBraintree.client.create({ authorization: ‘token’ }, (err, clientInstance) => { //client instance not created })
I’m wondering why I always getting error on my bundled app. I’m using Webpack for bundling. On dev mode, there is no error and I can get the client instance. I’m sure the token is passed because I debug it.
{name: "BraintreeError", code: "CLIENT_INVALID_AUTHORIZATION", message: "Authorization is invalid. Make sure your client token or tokenization key is valid.", type: "MERCHANT", details: undefined}
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Webpack not creating bundle.js or error messages
1 Answer 1 · When running npm run serve , I get Module parse failed: Unexpected token (2:5) You may need an appropriate...
Read more >API - esbuild
#Build API. The build API call operates on one or more files in the file system. This allows the files to reference each...
Read more >Development | webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >Capturing JavaScript Errors - Sentry
You have a single page JavaScript application, and unlike your API server, the client-side application doesn't generate error logs.
Read more >Handle loading errors & fallback with HtmlWebpackPlugin
First of all, logically we will not be able to do anything in the bundle.[hash].js , because this file will fail to load...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tehnomaag The
atob
issue you pointed out was fixed in 3.12.0@tehnomaag Thanks for pointing this out. I’m working on a fix now.