Closed antoniomdk closed 1 year ago
I'll check in an hour. But I'm pretty sure it's a body format thing. Maybe an added newline or something.
Our UI calls the same Api as you do
What's your error message?
Hi @chronark,
I really appreciate the quick reply. I just found it was a QSTASH_TOKEN issue, I had a old token, so QStash was generating a wrong signature. It is working fine now!
I'm closing this issue.
Thanks a lot!
Hi,
I've been trying to verify the signature using a custom express middleware for next-connect. The problem is that if I send a request through the QStash UI it works fine, but if I try to schedule it from code, the signature verification fails. This is my current code:
Basically, I have an endpoint that is called on a schedule from QStash and that same endpoint schedules several other tasks:
But the secondary checkUserAlert endpoint is unable to verify the signature although both endpoints use the same middleware.
Any suggestion?
Thanks in advance