Subscribe queue Lỗi 403

QuestionsCategory: Event queueSubscribe queue Lỗi 403
tan.huynh asked 2 years ago

Em đang implement phần Event queue for public app.
Ở phần này sau khi em create queue xong thì khi subscribe event tới queue vừa tạo thì nhận được status code 403 với message. Em đang dùng tài khoản seller magickorea@onpoint.vn để test
{
    “errors”: [
        “Do not have permissions to subscribe this queue”
    ]
}
curl –location –request POST ‘https://api.tiki.vn/integration/v1/queues/ffb7f749-b018-4354-801e-6d9259487d3f/subscriptions’ \
–header ‘Authorization: Bearer uGecVV0yilPv-T_Pv_J1XeQev_8_tLvFMnEDeekLb-0.38-IYSDvbys1cCmygml1cU2XOxDTGuDabsAZEFIrEmk’ \
–header ‘Content-Type: application/json’ \
–data-raw ‘{“event_type”: “ORDER_CREATED_SUCCESSFULLY”}’