Documentation Index
Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Common Issues and Solutions
Preview Deployment Protection
Problem: When Deployment Protection setting is enabled on Vercel, it’s not possible to trigger and complete a workflow run on a preview deployment. Solution: Vercel provides a way to bypass this protection by using a bypass secret. To create one, follow these steps:
Now that you have a bypass token, you need to pass it as a header in two places to bypass deployment protection.
Using the Bypass Secret
Step 1: Configure QStash Client with Headers
Configure the QStash client with the bypass header in your workflow serve options. This ensures that all workflow steps, includingcontext.invoke calls, will include the bypass header automatically:
Step 2: Pass Header When Triggering
When triggering the workflow usingcurl or client.trigger, you must also pass the bypass secret as a header:
