upstash / issues

Issue Tracker for Upstash
https://upstash.com
2 stars 0 forks source link

V2 QStash Message Not Found #80

Closed W0mpRat closed 1 year ago

W0mpRat commented 1 year ago

Hi, when I create a qstash message in V2 and then query for that message I get the following error:

Steps to reproduce:

  1. publish a message to QStash: https://qstash.upstash.io/v2/publish/https://SOME_URL/SOME_ROUTE

  2. get the message ID from the response body

    {
    "messageId": "msg_7YoJxFpwkEy5zBp38Wn4gsi5TbMa9f86gorbszGuviVpLov4VzdtE"
    }
  3. query qstash for the message: https://qstash.upstash.io/v2/messages/msg_7YoJxFpwkEy5zBp38Wn4gsi5TbMa9f86gorbszGuviVpLov4VzdtE

{
    "error": "msg_7YoJxFpwkEy5zBp38Wn4gsi5TbMa9f86gorbszGuviVpLov4VzdtE not found"
}

This works in V1, and seemingly has just stopped in V2

sancar commented 1 year ago

We have answered this on discord. For others having similar issues see following migration guide from v1 to v2. https://upstash.com/docs/qstash/migrating/v2#where-are-the-messages-in-v2