Cloud agent setup test login account bug

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

I can’t save test login account when setting up cloud agents

Steps to Reproduce

  1. visit https://cursor.com/agents/[id]?app=setup

  2. fill out "Setting up environment
    The agent needs your help to keep going. Complete the highlighted steps below and it will continue. Add test login account "

Expected Behavior

Expected: Enter test account and click save, credentials saved.
Actual: Error message “Credentials saved, but syncing failed: Failed to sync secrets: 404”

https://cursor.com/api/background-composer/update-background-composer-environment
{
“error”: {
“message”: “Error”,
“details”: [
{
“error”: “ERROR_NOT_FOUND”,
“details”: {
“title”: “Resource not found.”,
“detail”: “The development environment associated with this Cloud Agent has expired. Please create a new Cloud Agent.”,
“isRetryable”: false,
“additionalInfo”: {},
“buttons”: ,
“planChoices”:
},
“isExpected”: true
}
]
}
}

Operating System

Windows 10/11

Version Information

cursor web

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report.

The 404 error you’re seeing says “The development environment associated with this Cloud Agent has expired,” which means the environment for that specific agent has timed out.

Could you try creating a brand new Cloud Agent and then going through the setup and test login flow again? Cloud Agent environments have a limited lifespan, so if some time has passed between creating the agent and setting up credentials, the environment may have already expired.

If you’re seeing this error on a freshly created agent, let me know. That would be a different issue. If that happens, please share the agent ID from the URL, the [id] part of cursor.com/agents/[id].

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.