Invalid card data - field: source_id in Sandbox

Hi guys,
I get this error on every request I make to create a card.
I think that this was working yesterday, so can you please check and confirm if the issue is on your or my side :slight_smile:

Thank you!

errors: [
[Object: null prototype] {
category: ‘INVALID_REQUEST_ERROR’,
code: ‘INVALID_CARD_DATA’,
detail: ‘Invalid card data.’,
field: ‘source_id’
}
]

What’s your application ID and what test value are you using? :slightly_smiling_face:

Application ID: sandbox-sq0idb-__cW4BTzylDpFc5QA24xPQ

Test card data:
No: 4111111111111111
Exp: 11/33
CVV: 111
Zip: 11111

And I have also tried with: 5105 1051 0510 5100 (everything else the same)

Thank you! :slight_smile:

try zip 1111 and exp 11/23 instead

I haven’t been able to replicate. It works for me. Are you using the same postal code that you used when creating the source_id? :slightly_smiling_face:

No, it was a different zip code. I have just tried 11111 on both places and it worked. :man_facepalming:

Thank you for your help. I really appreciate it :slight_smile: :+1:

Glad to hear it’s working as expected. :slightly_smiling_face:

1 Like