Open Closed

Issue Fetching Workspaces with 10.2.0 RC #10510


User avatar
0
manas-patnaik_HON created

[21:42:36 INF] Executed endpoint 'Volo.Chat.Users.ContactController.GetTotalUnreadMessageCountAsync (Volo.Chat.HttpApi)' [21:42:36 INF] Request finished HTTP/2 GET https://localhost:44340/api/chat/contact/total-unread-message-count - 200 null application/json; charset=utf-8 187.4404ms [21:42:36 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": null, "validationErrors": null }

[21:42:36 ERR] The API description of the Volo.AIManagement.Workspaces.IWorkspaceAppService.GetListAsync method was not found! Volo.Abp.AbpException: The API description of the Volo.AIManagement.Workspaces.IWorkspaceAppService.GetListAsync method was not found! at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.BuildHttpProxyClientProxyContext(String methodName, ClientProxyRequestTypeValue arguments) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments) at Volo.AIManagement.Workspaces.WorkspaceClientProxy.GetListAsync(WorkspaceGetListInput input) at lambda_method2773(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

And the warning

gETTING ERROR IN wEB PROJECT WHILE FETCHING ALL THE WORKSPACES , [21:39:48 WRN] Could not find ApiDescriptionModel for action: Create in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: Delete in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: Get in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetList in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetEmbedderProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetEmbedderProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetVectorStoreProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetVectorStoreProviders in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: Update in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: Duplicate in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetMcpServerConnections in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: AddMcpServerConnection in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: UpdateMcpServerConnection in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: RemoveMcpServerConnection in controller: Workspace, May be the generate-proxy.json is not up to date. [21:39:48 WRN] Could not find ApiDescriptionModel for action: GetByName in controller: Workspace, May be the generate-proxy.json is not up to date.

  • Steps to reproduce the issue:

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • This exception is thrown by ABP’s (dynamic) HTTP client proxy when it can’t find a matching action inside the server’s API definition (/api/abp/api-definition) for the method you’re calling:
      • The API description of the ... IWorkspaceAppService.GetListAsync method was not found!
      • The warnings also confirm the same root cause:
        • Could not find ApiDescriptionModel for action ... Workspace, May be the generate-proxy.json is not up to date.

    Fix (MVC tiered / separated host)

    1. Regenerate the proxy definition file(s) used by your MVC app
    • In the solution root (where ABP CLI can find your apps), run proxy generation again so the generated proxy metadata matches the RC2 backend:
    abp generate-proxy -t csharp -u https://localhost:44340/
    

    If your solution is modular / the endpoints are in a specific module, generate with module name:

    abp generate-proxy -t csharp -u https://localhost:44340/ -m YourModuleName
    
    1. Ensure the MVC app uses the updated generated proxy JSON
    • Those warnings typically happen when:
      • the MVC app still has an old generate-proxy.json (or app-generate-proxy.json) embedded, or
      • the file exists but your app isn’t adding it to the Virtual File System.

    In your MVC (client) module, keep (or add) the VFS embedding:

    Configure<AbpVirtualFileSystemOptions>(options =>
    {
        options.FileSets.AddEmbedded<YourMvcClientModule>();
    });
    
    1. Clean & rebuild
    • Delete bin/obj (or dotnet clean), rebuild, restart both the Host and the MVC app.
    • Then retry “Get workspaces”.
    1. If you generate proxies “without contracts” If you are using static proxies without referencing the contracts package, you must also configure the proxy configs as described in ABP docs (otherwise method/action resolution can fail at runtime).

    Why this happens in 10.2.0 RCs

    In RC builds, API surface and route/action metadata can change between RC1/RC2; if your MVC app still carries proxy metadata generated against an older build, ABP can’t match IWorkspaceAppService.GetListAsync to any action in the API definition model and throws exactly this error.

    Links (verified)

    • https://abp.io/docs/latest/framework/api-development/static-csharp-clients
    • https://abp.io/docs/latest/framework/api-development/static-csharp-clients#without-contracts-example
    • https://abp.io/docs/latest/cli

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Thanks, we will fix this in the next RC version. Your ticket has been refunded.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 11, 2026, 11:45
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.