April 24, 2024
cancel
Showing results for 
Search instead for 
Did you mean: 
Help

Card Transition throwing exception for optional field

Card Transition throwing exception for optional field

sapawar
New Contributor

{\n \"error_message\" : \"reason_code must be populated\",\n \"error_code\" : \"400697\"\n} where as in documentation reason_code is optional parameter 

2 REPLIES 2

reneemq
Community Manager
Community Manager

Hi @sapawar.  This field is required depending on the user_card_state_version  used by the program. From the docs:"NOTE: This field is required if your program uses v2 of the user_card_state_version, which is a program-specific configuration value that is managed by Marqeta and cannot be accessed via the API. To learn more about the user_card_state_version program configuration, contact your Marqeta representative.

reneemq
Community Manager
Community Manager

Hi @sapawar .  This field is required depending on the user_card_state_version  used by the program. From the docs:"NOTE: This field is required if your program uses v2 of the user_card_state_version, which is a program-specific configuration value that is managed by Marqeta and cannot be accessed via the API. To learn more about the user_card_state_version program configuration, contact your Marqeta representative."