Support » Plugin: WooCommerce » woocommerce_rest_cannot_view error with WooCommerce to 4.6.1

  • Resolved bambootb

    (@bambootb)


    After I after update WooCommerce to 4.6.1, shop_manager role admin side when viewing the order it’s throwing these errors

    edit.php?post_type=shop_order:1 Uncaught (in promise) {code: “woocommerce_rest_cannot_view”, message: “Sorry, you canไม่ใช่คุณ view these options.”, data: {…}}code: “woocommerce_rest_cannot_view”data: {status: 403}message: “Sorry, you canไม่ใช่คุณ view these options.”__proto__: Object
    Promise.then (async)
    (anonymous) @ index.js?ver=1.6.2:2
    setTimeout (async)
    (anonymous) @ index.js?ver=1.6.2:2
    BATCH_FETCH @ index.js?ver=1.6.2:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    e @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    c @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    t @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
    invoke @ wp-polyfill.min.js?ver=7.4.4:1
    t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
    n @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    c @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    Z @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    tryCatch @ wp-polyfill.min.js?ver=7.4.4:1
    invoke @ wp-polyfill.min.js?ver=7.4.4:1
    t.<computed> @ wp-polyfill.min.js?ver=7.4.4:1
    n @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    c @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    s @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    a @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    u @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ index.js?ver=1.6.2:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    Ge @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2
    je @ react-dom.min.js?ver=16.9.0:78
    ph @ react-dom.min.js?ver=16.9.0:215
    lh @ react-dom.min.js?ver=16.9.0:126
    O @ react-dom.min.js?ver=16.9.0:121
    Sb @ react-dom.min.js?ver=16.9.0:213
    wh @ react-dom.min.js?ver=16.9.0:160
    fd @ react-dom.min.js?ver=16.9.0:160
    (anonymous) @ react-dom.min.js?ver=16.9.0:163
    kh @ react-dom.min.js?ver=16.9.0:119
    id @ react-dom.min.js?ver=16.9.0:163
    render @ react-dom.min.js?ver=16.9.0:228
    (anonymous) @ index.js?ver=1.6.2:2
    521 @ index.js?ver=1.6.2:2
    o @ index.js?ver=1.6.2:2
    wc.app.0 @ index.js?ver=1.6.2:2
    (anonymous) @ index.js?ver=1.6.2:2
    Show 24 more frames
    edit.php?post_type=shop_order:1 Uncaught (in promise) {code: “woocommerce_rest_cannot_view”, message: “Sorry, you canไม่ใช่คุณ view these options.”, data: {…}}

    {“code”:”woocommerce_rest_cannot_view”,”message”:”Sorry, you can\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e04\u0e38\u0e13 view these options.”,”data”:{“status”:401}}

    How can I fix this, please help.

    Best,
    T

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘woocommerce_rest_cannot_view error with WooCommerce to 4.6.1’ is closed to new replies.