{"section":"known-issues","requestedLocale":"en","requestedSlug":"checkout-ownership-cookie-size-may-lead-to-broken-requests-due-to-size-limit","locale":"en","slug":"checkout-ownership-cookie-size-may-lead-to-broken-requests-due-to-size-limit","path":"docs/en/known-issues/Checkout/checkout-ownership-cookie-size-may-lead-to-broken-requests-due-to-size-limit.md","branch":"main","content":"## Summary\n\nIn some cases when a new address is added to a cart with a `CheckoutOrderFormOwnership` value the already existing cookie value will be incremented by Chekout API's response.\n\nThis behavior may lead to broken requests scenarios due to cookie limit size in implementations that rely on checkout's `CheckoutOrderFormOwnership` cookie.\n\nKnown scenarios:\n\n\n- When the OrderForm Configuration `useOwnershipCookie` is set to `false`;\n  - Adding a new address to a cart with a value for `CheckoutOrderFormOwnership` cookie will always lead to cookie size increment.\n\n\n- When the OrderForm Configuration `useOwnershipCookie` is set to `true`;\n  - Adding a cart with a new `addressId` value to a cart with a value for `CheckoutOrderFormOwnership` cookie will always lead to cookie size increment.\n  - Adding a cart with an already existing `addressId` value to a cart with a value for `CheckoutOrderFormOwnership` cookie will not lead to cookie size increment.\n\n## Simulation\n\n- Set `useOwnershipCookie` to `false` in the store's OrderForm Configuration;\n- Create a new cart and add any item;\n- Add any number of addresses, the response `CheckoutOrderFormOwnership` cookie should always increase.\n\n\n- Set `useOwnershipCookie` to `true` in the store's OrderForm Configuration;\n- Create a new cart and add any item;\n- Add any address with an `addressId` value;\n- Add any number o addresses with different `addressId` values between any already existing address in the cart, the response `CheckoutOrderFormOwnership` cookie size should always increase\n\n## Workaround\n\nN/A"}