[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)
-
0
- 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)
- 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- 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(orapp-generate-proxy.json) embedded, or - the file exists but your app isn’t adding it to the Virtual File System.
- the MVC app still has an old
In your MVC (client) module, keep (or add) the VFS embedding:
Configure<AbpVirtualFileSystemOptions>(options => { options.FileSets.AddEmbedded<YourMvcClientModule>(); });- Clean & rebuild
- Delete
bin/obj(ordotnet clean), rebuild, restart both the Host and the MVC app. - Then retry “Get workspaces”.
- 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.GetListAsyncto 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.
- 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 (
-
0
hi
Thanks, we will fix this in the next RC version. Your ticket has been refunded.