Cursor Automation webhook failing authentication

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

I created a Cursor automation that uses a Webhook about two weeks ago that seemed to work fine.
In the last few days it seemed to fail, even after regenerating a new token.
I even tried creating a complete new automation and encountered the same issue.

This is the error I encountered:

"code": "unauthenticated",
"message": "[unauthenticated] Error",
"details": [
    {
        "type": "aiserver.v1.ErrorDetails",
        "debug": {
            "error": "ERROR_NOT_LOGGED_IN",
            "details": {
                "title": "Authentication error",
                "detail": "If you are logged in, try logging out and back in.",
                "isRetryable": false
            },
            "isExpected": true
        },
        "value": "**base64 value**"
    }
]

}

Steps to Reproduce

Create an automation with a webhook.
Copy its URL and authorization header into Postman.
Send a request.

Expected Behavior

An agent to start running via automation.

Operating System

Linux

Version Information

Cursor automations

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

3 posts were merged into an existing topic: Webhook trigger endpoint returns 401