# Error with Card Issuing in Sandbox

**URL:** https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions
**Tags:** issuing-api
**Created:** [September 8, 2023, 10:39am UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876 "2023-09-08T10:39:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Frank\_Arisah](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/frank_arisah/32/22118_2.png) [@Frank\_Arisah](https://community.rapyd.net/u/Frank_Arisah)
#### Post date: [September 8, 2023, 10:39am UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/1 "2023-09-08T10:39:47Z")

</div>

Hello  
All the card\_programs in my dashboard result to below error.  
{  
“status”: {  
“error\_code”: “ERROR\_ISSUE\_CARD\_PROGRAM\_UNAVAILABLE”,  
“status”: “ERROR”,  
“message”: “The request tried to issue a card, but the card program is not available. The request was rejected. Corrective action: For ‘card\_program’, use the ID of a valid card program.”,  
“response\_code”: “ERROR\_ISSUE\_CARD\_PROGRAM\_UNAVAILABLE”,  
“operation\_id”: “23c79532-114b-4a2b-a049-fceedefe87d6”  
}  
}  
The one you’ve provided results to below error  
{  
“status”: {  
“error\_code”: “ERROR\_GET\_CARD\_PROGRAM”,  
“status”: “ERROR”,  
“message”: “”,  
“response\_code”: “ERROR\_GET\_CARD\_PROGRAM”,  
“operation\_id”: “6467942c-b7cf-4fab-b944-aede71034696”  
}  
}  
Please assist with valid card\_program. Thanks.

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [September 8, 2023, 6:08pm UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/2 "2023-09-08T18:08:44Z")

</div>

Thanks, I cannot seem to replicate your error, have you followed the steps above? Did you hover over the card program to make sure you copied the full card program ID?

 ![Card-program-ID](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/3X/2/8/280ccc12fbf4f44195e268d1111de1d1291154ac.png)

Here is another response I received when sending the [Issue Card](https://docs.rapyd.net/en/issue-card.html) request.

## Issue Card with Card Program

**Endpoint**  
`post https://sandboxapi.rapyd.net/v1/issuing/cards`

### Request

```auto
{
    "ewallet_contact": "cont_12f04d78f82ab76564c538563d4d2b69",
    "card_program": "Cardprog_e3d0530f4b42f8176f4d4bc34c43454e"
}

```

### Response

```auto
{
    "status": {
        "error_code": "",
        "status": "SUCCESS",
        "message": "",
        "response_code": "",
        "operation_id": "d0100c5d-c4ba-406e-8a5f-31c1ebce5481"
    },
    "data": {
        "id": "ci_a2695a6ed4ca4f957c37634db3b1a348",
        "ewallet_contact": {
            "id": "cont_12f04d78f82ab76564c538563d4d2b69",
            "first_name": "Samson",
            "last_name": "Smith",
            "middle_name": "",
            "second_last_name": "",
            "gender": "not_applicable",
            "marital_status": "not_applicable",
            "house_type": "",
            "contact_type": "personal",
            "phone_number": "+14155551311",
            "email": "samson@rapyd.net",
            "identification_type": "PA",
            "identification_number": "1234567890",
            "issued_card_data": {
                "preferred_name": "",
                "transaction_permissions": "",
                "role_in_company": ""
            },
            "date_of_birth": "2000-11-22",
            "country": "US",
            "nationality": "US",
            "address": {
                "id": "address_44663a931ce056f7cfbf7ce8be382924",
                "name": "Samson Smith",
                "line_1": "123 Main Street",
                "line_2": "",
                "line_3": "",
                "city": "Anytown",
                "state": "NY",
                "country": "US",
                "zip": "12345",
                "phone_number": "+14155551111",
                "metadata": {},
                "canton": "",
                "district": "",
                "created_at": 1655855148
            },
            "ewallet": "ewallet_b58298eebc06e3c519c39c9d14781e97",
            "created_at": 1655855148,
            "metadata": {},
            "business_details": null,
            "compliance_profile": 0,
            "verification_status": "not verified",
            "send_notifications": false,
            "mothers_name": "Jane Smith"
        },
        "status": "INA",
        "card_id": "card_2debd08abb1c50db0907b91888a01773",
        "assigned_at": 1694194380,
        "activated_at": 0,
        "metadata": {},
        "country_iso_alpha_2": "MX",
        "created_at": 1694194381,
        "blocked_reason": "none",
        "card_tracking_id": null,
        "card_program": "cardprog_e3d0530f4b42f8176f4d4bc34c43454e",
        "public_details": {
            "bin": "540308",
            "last4": "9163",
            "sub_bin": "85",
            "expiration": "0926"
        },
        "card_number": "5403082854279163",
        "cvv": "323",
        "expiration_month": "09",
        "expiration_year": "26",
        "bin": "540308",
        "sub_bin": "85"
    }
}

```

---

<div class="post-metadata">

### Author: ![Frank\_Arisah](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/frank_arisah/32/22118_2.png) [@Frank\_Arisah](https://community.rapyd.net/u/Frank_Arisah)
#### Post date: [September 9, 2023, 1:33pm UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/3 "2023-09-09T13:33:42Z")

</div>

Hello,  
Thanks for your response.  
Yes I have copied the full card program ID  
Please see below request and response on

1. Using one of the card\_program ID In my dashboard  
Request  
{  
“ewallet\_contact”: “cont\_9c4ea3cf861e8d65e83cd71faec1afaf”,  
“card\_program”: “Cardprog\_57c78d9f18a7199215509cd097041c19”  
}  
Response  
{  
“status”: {  
“error\_code”: “ERROR\_ISSUE\_CARD\_PROGRAM\_UNAVAILABLE”,  
“status”: “ERROR”,  
“message”: “The request tried to issue a card, but the card program is not available. The request was rejected. Corrective action: For ‘card\_program’, use the ID of a valid card program.”,  
“response\_code”: “ERROR\_ISSUE\_CARD\_PROGRAM\_UNAVAILABLE”,  
“operation\_id”: “3199e4dd-7400-4da4-9e0d-b6ac4a0eab5d”  
}  
}
2. The one you’ve provided.  
Request  
{  
“ewallet\_contact”: “cont\_9c4ea3cf861e8d65e83cd71faec1afaf”,  
“card\_program”: “Cardprog\_e3d0530f4b42f8176f4d4bc34c43454e”  
}  
Response  
{  
“status”: {  
“error\_code”: “ERROR\_GET\_CARD\_PROGRAM”,  
“status”: “ERROR”,  
“message”: “”,  
“response\_code”: “ERROR\_GET\_CARD\_PROGRAM”,  
“operation\_id”: “6a9bbd36-cb88-448c-87f3-d396d94ac679”  
}  
}

Thanks.

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [September 11, 2023, 4:50pm UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/4 "2023-09-11T16:50:30Z")

</div>

The one I provided will not work for you since it would be under my own sandbox account. Lastly, just confirming this is in your sandbox account?

---

<div class="post-metadata">

### Author: ![Frank\_Arisah](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/frank_arisah/32/22118_2.png) [@Frank\_Arisah](https://community.rapyd.net/u/Frank_Arisah)
#### Post date: [September 12, 2023, 6:17am UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/5 "2023-09-12T06:17:45Z")

</div>

Hello, yes this is in my sandbox account.

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [September 14, 2023, 5:22pm UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/6 "2023-09-14T17:22:11Z")

</div>

Got it.

I’m not sure why it is giving you an error, I don’t seem to have an issue on my account. I also tried multiple test accounts and I could issue another card with their existing card program.

Maybe try activating an existing card in Client Portal? (Screenshot below)

 ![Screenshot 2023-09-14 at 9.18.14 AM](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/3X/a/6/a6ed9d31d7021d7d069083411224d7fe1fa7b905.png)

Can you take a screenshot also of your issuing page and card program in sandbox?

---

<div class="post-metadata">

### Author: ![Frank\_Arisah](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/frank_arisah/32/22118_2.png) [@Frank\_Arisah](https://community.rapyd.net/u/Frank_Arisah)
#### Post date: [September 15, 2023, 7:37am UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/7 "2023-09-15T07:37:48Z")

</div>

Please find attached.

 ![rapydcardsandcardprogramerror](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/3X/c/e/ceb25726712e56e846891f30699de3d1a74d4133.png)

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [September 15, 2023, 6:37pm UTC](https://community.rapyd.net/t/error-with-card-issuing-in-sandbox/58876/8 "2023-09-15T18:37:32Z")

</div>

Thanks @Frank_Arisah,

As far as cards issued you may find one if you select custom and select the date range to be from when you started your account to today.

Also, what country is your account registered in? If you want to play around with card issuing in Sandbox I would try and sign up in the US, UK, MX, BR, or SG. Issuing is an enterprise feature so some countries would be limited, as they would never be able to go live.

 ![Screenshot 2023-09-15 at 11.32.05 AM](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/3X/9/c/9cf4db15b51967c8490d43e163cab55726f472ca.jpeg)

If you have any further questions about your account specifically, you can open up a [support ticket](https://docs.rapyd.net/en/submitting-a-support-ticket.html) within client portal.

As always we’d be happy to answer any other questions on the Rapyd API here in community.
