Cart change.js sometimes works and sometimes not

Hello Team, on our plus website i.e. https://give-r.myshopify.com/

I am trying to update the cart notes by using change.js, since we never allows users to go to cart page,

that means this code needs to be added somewhere else, since we can edit the checkout.liquid I have added this code in it

fetch('/cart.js', {
          method: 'GET',
          credentials: 'same-origin',
          headers: {
            'Content-Type': 'application/json',
          },
        })
        .then(response => response.json())
        .then(response => {
          const items = response.items;
          let initialsArray = [];
          // let cartNote = response.note;
    
          // if(cartNote != '' && cartNote != null) {
          //   initialsArray.push(cartNote);
          // }
        
          if(items.length) {
            
            for (var key in items) {
              let item = items[key];
              let properties = item.properties;
              let title = item.product_title;
              let initialsValue = Object.values(properties)[0];
              if(initialsValue != '' && initialsValue != null) {
                initialsArray.push(title+" : "+initialsValue.toUpperCase());
              }
            }
    
            let finalNote = '';
            for(let i=0; i

and this code gives such response in console

```javascript
{
    "token": "92f4dceba19b6a76cdbd7dcc1916c082",
    "note": "Lightweight Give'r Gloves : ABC\n",
    "attributes": {
        "_source": "Rebuy",
        "_attribution": "Smart Cart"
    },
    "original_total_price": 3900,
    "total_price": 3900,
    "total_discount": 0,
    "total_weight": 170.0971,
    "item_count": 1,
    "items": [
        {
            "id": 33012018053202,
            "properties": {
                "Type Your Initials Here": "ABC"
            },
            "quantity": 1,
            "variant_id": 33012018053202,
            "key": "33012018053202:fed66ae9f45ca4d99ee771d2fc992213",
            "title": "Lightweight Give'r Gloves - XL / Add Initials",
            "price": 3900,
            "original_price": 3900,
            "discounted_price": 3900,
            "line_price": 3900,
            "original_line_price": 3900,
            "total_discount": 0,
            "discounts": [],
            "sku": "LWG-XL-YRR",
            "grams": 170,
            "vendor": "Give'r",
            "taxable": true,
            "product_id": 4736065699922,
            "product_has_only_default_variant": false,
            "gift_card": false,
            "final_price": 3900,
            "final_line_price": 3900,
            "url": "/products/lightweight-giver-glove?variant=33012018053202",
            "featured_image": {
                "aspect_ratio": 1,
                "alt": "Lightweight Give'r Gloves",
                "height": 600,
                "url": "https://cdn.shopify.com/s/files/1/0120/7932/products/lwg_hero.jpg?v=1652418483",
                "width": 600
            },
            "image": "https://cdn.shopify.com/s/files/1/0120/7932/products/lwg_hero.jpg?v=1652418483",
            "handle": "lightweight-giver-glove",
            "requires_shipping": true,
            "product_type": "Gloves",
            "product_title": "Lightweight Give'r Gloves",
            "product_description": "Everyday Carry (EDC) meets Give'r Gloves... straight shootin' tough & durable. Unlined & warm weather ready.\nLightweight Give’r Gloves are our answer to the many requests from the Give'r community for \"the quality of the Classic Gloves but for those hotter days.\" We dove into prototyping, testing, tweaking and repeating ... and the final result has received the Give'r stamp of approval in a big way. The Lightweights are well suited for around the house, warmer climate jobs like summertime yard work & gardening, light construction projects or stacking wood piles. \nThe Lightweight Gloves can also serve as your EDC gloves for late spring skiing, camping, hunting or warmer weather shoveling.",
            "variant_title": "XL / Add Initials",
            "variant_options": [
                "XL",
                "Add Initials"
            ],
            "options_with_values": [
                {
                    "name": "Size",
                    "value": "XL"
                },
                {
                    "name": "Initials",
                    "value": "Add Initials"
                }
            ],
            "line_level_discount_allocations": [],
            "line_level_total_discount": 0
        }
    ],
    "requires_shipping": true,
    "currency": "USD",
    "items_subtotal_price": 3900,
    "cart_level_discount_applications": []
}

In the above JSON you can see we have correct note i.e.

Lightweight Give'r Gloves : ABC\n

However when we actually do the checkout we are sometimes getting this note added to the order notes and sometimes not, check attached screenshots

We are not sure how to overcome this, can you please help us on this