IBM Support

JR55187: 401 errors when the user activity cookie times out

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a shopper's user activity cookie times out, you might see the
    following error in the logs on every subsequent REST request:
    
    status = 401
    {"errors":[{"errorParameters":"","errorCode":"CWXFR0223E","error
    Key":"ERR_COOKIE_EXPIRED","errorMessage":"CWXFR0223E: The user
    activity cookie is expired."}]}
    
    Since this happens on every subsequent request, shoppers cannot
    complete an action that involves REST calls, including login or
    logout. Shoppers need to clear the cookies in the browser to
    continue browsing the store.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce V7 stores on Feature Pack 7 or later that use
     REST services.
    
    PROBLEM ABSTRACT:
    401 errors when the user activity cookie times out
    
    BUSINESS IMPACT:
    When updateCookie=true, and the cookie is expired, the shopper
    cannot complete any REST action without cleaning the cookies.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated logic:
    When updateCookie=true is passed in and the request is
    loginidentity or guestidentity, ignore the cookie timeout and
    remove the cookies after a successful login.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR55187

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-27

  • Closed date

    2016-02-26

  • Last modified date

    2016-02-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021