December 21, 2024
cancel
Showing results for 
Search instead for 
Did you mean: 
Help

Marqeta.js integration

Marqeta.js integration

rodrigomathias
New Contributor

Hi,

I followed carefully the using marqeta js tutorial and no matter what I'm getting the following http error from marqeta.min.js file:

Screen Shot 2022-10-04 at 4.57.47 PM.png

 

The token itself (generated by /v3/users/auth/clientaccesstoken) seems OK despite the application_token property being null.

 

Screen Shot 2022-10-04 at 4.57.05 PM.png

I'm running it as local node.js server 

Any tip is appreciated. Thanks!

1 REPLY 1

Eric_Chi
Marqetan

Hi! It looks like the clientaccesstoken is missing some necessary fields. In particular, the 

client_api_base_url which is why you are seeing in undefined in the path for the GET request you posted above. Please speak to the Customer Success or Integration Engineer who set you up initially to have those fields configured.