INTERNAL_SERVER_ERROR in cardsApi

Hi, I hope you’re doing well!

I keep getting statusCode: 500 when I call cardsApi.listCards(). It works fine in the Square API Explorer with the same access token and parameters, but when I request through Node.js it doesn’t work. What can I do to fix this?

:wave: Looks like in the request to ListCards a cursor is being passed in but the cursor is actually a customer_id. We should be returning a 400 and the team is now working on a fix but you will need to pass a valid cursor when calling ListCards :slightly_smiling_face:

1 Like