Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve "run session could not be started: IDE returned a response indicating failure - Status: 400 Bad Request" in Visual Studio?

I encountered an issue when trying to run a new project in Visual Studio (latest version). Upon execution, the following error is displayed:

Aspire.Hosting.Dcp.dcpctrl.ExecutableReconciler[0] run session could not be started: IDE returned a response indicating failure
{"Executable": {"name":"apiservice-tbbwdnem"}, "Reconciliation": 2, "Status": "400 Bad Request", "Body": ""}

Steps to Reproduce:

  1. Open Visual Studio (latest version).
  2. Create a new project (type does not seem to matter).
  3. Execute the project.

Observations:

  • The error seems to originate from ExecutableReconciler.
  • The IDE response indicates a 400 Bad Request.

My Attempted Solutions:

  • Restarted Visual Studio.
  • Cleared cache and rebuilt the project.
  • Reinstalled Visual Studio.

Despite these efforts, the issue persists.

Questions:

  1. What could be causing the "400 Bad Request" response?
  2. Are there any known solutions or configurations to fix this problem?
  3. Could this be an issue with the apiservice-tbbwdnem or some missing dependency?

Any guidance would be greatly appreciated.

like image 502
Alhusseen Alfalahy Avatar asked Dec 01 '25 10:12

Alhusseen Alfalahy


1 Answers

I fixed this by removing the project from the solution, closing Visual Studio, re-opening Visual Studio, then re-adding the project.

This made sense to me because when I built the solution, the new project was not generating build artifacts and binaries for the new project.

like image 85
Jim G. Avatar answered Dec 05 '25 09:12

Jim G.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!