Skip to content

(Dashboard Deploy button) Deploy button not working  #48

@IbrahimSMo

Description

@IbrahimSMo

Description

When clicking the Deploy button in the client/UI, a POST request is sent to the /agents endpoint.
However, the backend server only supports GET and OPTIONS methods for this route. As a result, the request fails and deployment cannot proceed.

Steps to Reproduce

Start the backend server (npm run server).

Open the client/UI.

Click the Deploy button.

Observe the network request in DevTools.

Expected Behavior

The backend should accept a POST /agents request (to create or trigger deployment).
Alternatively, the frontend should use the correct method if deployment is supposed to be handled via GET.
Actual Behavior

Frontend sends:POST /agents
Server responds:405 Method Not Allowed

Impact
Deploy button is currently broken.
Users cannot deploy agents via the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions