Mutation cartDiscountCodesUpdate response randomly incomplete

After applying a discount code through the graphql API using cartDiscountCodesUpdate - Storefront API, the mutation response randomly shows an empty array on the discountAllocations field. I’ve expected to see the discountCodes and the discountAllocations fields always showing the discount info.

{
    "data": {
        "cartDiscountCodesUpdate": {
            "cart": {
                "discountCodes": [
                    {
                        "applicable": true,
                        "code": "test-2",
                        "__typename": "CartDiscountCode"
                    }
                ],
                "estimatedCost": {
                    "totalAmount": {
                        "amount": "181.0",
                        "__typename": "MoneyV2"
                    },
                    "subtotalAmount": {
                        "amount": "181.0",
                        "__typename": "MoneyV2"
                    },
                    "__typename": "CartEstimatedCost"
                },
                "discountAllocations": [],
                "checkoutUrl": "",
                "__typename": "Cart"
            },
            "userErrors": [],
            "warnings": [],
            "__typename": "CartDiscountCodesUpdatePayload"
        }
    }
}

the Cart query cart - Storefront API seems to have the same issue. it shows the total value updated but I can’t retrieve the discount data. Am I doing something wrong?

Are you able to consistently see this problem? So far I’ve been unable to reproduce the problem.