Skip to content

System.NotSupportedException: Method ExecuteAsync is not supported on this proxy #220

@bjorkstromm

Description

@bjorkstromm

I'm using Microsoft.PowerPlatform.Dataverse.Client version 0.5.10 inside a .NET 6 Blazor Server App and randomly getting error System.NotSupportedException: Method ExecuteAsync is not supported on this proxy. The code works most of the times, but every now and then I get this exception. Not really sure how to reproduce, since it's happening randomly.

Stacktrace:

Unhandled exception. System.NotSupportedException: Method ExecuteAsync is not supported on this proxy, this can happen if the method is not marked with OperationContractAttribute or if the interface type is not marked with ServiceContractAttribute.
   at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.RetrieveMultipleAsync(QueryBase query, CancellationToken cancellationToken)
   at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.RetrieveMultipleAsync(QueryBase query)
   at ***.GetAccounts(String filter, Int32 limit)
   at ***.SearchAccounts(String filter)
   at Blazored.Typeahead.BlazoredTypeahead`2.Search(Object source, ElapsedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__127_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigatingWe are looking into this issue at this time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions