Commerce 14 - Unable to manually change a variation price Valid To date

Vote:
 

In Commerce 14.45.2 and 14.45.1, when trying to manually update the Valid To date of a variation's price via Edit Prices, it looks like the Valid To date successfully updates in the CMS, but the new value doesn't save.

In the browser's Network tab it reports a 400 - Bad Request response from /EPiServer/EPiServer.Commerce.Shell/Stores/price/55023975.

The error response body being "You lack sufficient access rights to perform this operation.", which is odd, because I'm an admin user.

If you fully refresh the browser you can succesfully update the Valid To date.

If you try and update another Valid To date, the same '400 - Bad Request - You lack sufficient access rights to perform this operation' error is reported.

After another full browser refresh you can succesfully update the Valid To date again.

#342045
Mar 27, 2026 1:32
Vote:
 

Hi Jonathan,

I would recommend to log a support ticket and include the exact versions: 14.45.1 / 14.45.2 and the HAR file in the ticket.

Other things you can also try is to replicate this on any older versions. Or open DevTools → Network tab and compare:

The first (working) request vs failing request

Check:

  • Request headers
    • __RequestVerificationToken
    • Cookies (especially .AspNetCore.Antiforgery.*)
  • Response headers
  • Payload differences

If token/cookie differs or is missing → confirms CSRF issue

#342083
Apr 01, 2026 6:53
Vote:
 

Hi,

This is a known bug and will be resolved in the next release. We apologize for the inconvenience 

#342117
Apr 08, 2026 11:21
Vote:
 

Thanks Quan, I've also had confirmation from Opti Application Support that this bug is https://world.optimizely.com/support/Bug-list/bug/COM-21524, and will be fixed in EPiServer.Commerce 14.45.4.

#342119
Apr 08, 2026 23:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.