Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Unable to enter a new Rating Value for proficiency - Error code: 0x80040265

Posted on by 5

When trying to enter a rating value, the system displays the error below:

screen-1.PNG

Steps to simulate the error:

Step 1- Access Volunteer Management application

Step 2- Select Bookable Resource Category

Step 3- Select a Resource Category

Step 4- Choose to enter a new Role competency

Step 5- Select the field 'Proficiency' and request to add a new rating value

Step 6- Enter name, value and isDefault

Step 7- Press Save

Log:

Exception Message: Exception has been thrown by the target of an invocation.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin
ApiStepKey: 214bb9e7-5e47-489b-96d7-0a1e5c8cd283
ApiDepthKey: 1
ApiActivityIdKey: 1fe97648-7d49-4066-9d90-ef138ea12b5b
ApiPluginSolutionNameKey: MicrosoftDynamicsScheduling3_CumulativePatch
ApiStepSolutionNameKey: MicrosoftDynamicsScheduling3_CumulativePatch
ApiExceptionCategory: ClientError
ApiExceptionMesageName: IsvAborted
ApiExceptionHttpStatusCode: 400
OperationStatus: 0
SubErrorCode: -2146233088

TraceText:
[Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin]
[214bb9e7-5e47-489b-96d7-0a1e5c8cd283: Resource Scheduling - Microsoft Dynamics Fps: Create (pre-validate) for ratingvalue]
FpsPlugin: PluginLocal.Create, Depth: 1
FpsPlugin: PluginLocal.Create, Depth: 1
FpsPlugin: PluginContext Start
FpsPlugin: MessageName: Create
FpsPlugin: PrimaryEntityName: ratingvalue
FpsPlugin: PrimaryEntityId: fd641f71-c439-eb11-a813-000d3a7952ce
FpsPlugin: SecondaryEntityName: none
FpsPlugin: Stage: 10
FpsPlugin: PreEntityImages.Count: 0
FpsPlugin: PostEntityImages.Count: 0
FpsPlugin: UserId: 7bcd23c0-a72a-eb11-bbf3-000d3a792ffb
FpsPlugin: InitiatingUserID: 7bcd23c0-a72a-eb11-bbf3-000d3a792ffb
FpsPlugin: IsolationMode: 1
FpsPlugin: Mode: 0
FpsPlugin: OrganizationName: f75f175f562f4c86a9ee048ee37162
FpsPlugin: OrganizationId: 76625c17-91c3-4f6e-abf4-56ca3f497394
FpsPlugin: BusinessUnitId: 148cfd0e-ac26-eb11-bbf3-000d3a7970eb
FpsPlugin: CorrelationId: 69f8ac90-492b-4352-ad60-5ef9a6f93066
FpsPlugin: RequestId: ba110e0d-dbd5-411e-9773-1080cf3c2198
FpsPlugin: OperationId: ba110e0d-dbd5-411e-9773-1080cf3c2198
FpsPlugin: IsInTransaction: False
FpsPlugin: Depth: 1
FpsPlugin: IsExecutingOffline: False
FpsPlugin: PluginContext End
FpsPlugin: PluginLocal.Create, Depth: 1
FpsPlugin: PluginLocal.Create, Depth: 1
FpsPlugin: InitializePlugin: local
FpsPlugin: ConfigurePluginFlagsSupportInternal()
FpsPlugin: CreateEntityOperation(ratingvalue)
FpsPlugin: Operation type: RatingValueOperation
FpsPlugin: operation.Initialize()
FpsPlugin: operation.Execute()
FpsPlugin: PluginStage: 10 MessageName: Create
FpsPlugin: Before calling message handler
FpsPlugin: Validate
FpsPlugin: ValidateCreate
FpsPlugin: ValidateCreateOrUpdate
FpsPlugin: PluginLocal.Dispose, Depth: 1
FpsPlugin:
Exception has been thrown by the target of an invocation.
Object reference not set to an instance of an object.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at lambda_method(Closure )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.DynamicInvoke(Delegate project, Object[] args)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.TranslateExpressionToConditionValue(Expression exp, ParameterExpression[] parameters)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.TranslateWhereCondition(BinaryExpression be, FilterExpressionWrapper parentFilter, Func`2 getFilter, Func`2 getLinkLookup, Boolean negate)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.TranslateWhere(String parameterName, BinaryExpression be, FilterExpressionWrapper parentFilter, Func`2 getFilter, List`1 linkLookups, Boolean negate)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.GetQueryExpression(Expression expression, Boolean& throwIfSequenceIsEmpty, Boolean& throwIfSequenceNotSingle, Projection& projection, NavigationSource& source, List`1& linkLookups)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](Expression expression)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.RatingValueOperation.ValidateCreateOrUpdate()
at Microsoft.Dynamics.ScheduleCommon.Foundation.Operations.Operation`1.HandleMessage()
at Microsoft.Dynamics.ScheduleCommon.Foundation.Operations.Operation`1.Execute()
at Microsoft.Dynamics.ScheduleCommon.Foundation.Plugins.PluginBase.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory, ISharedVariablesService sharedVariablesService)
at Microsoft.Dynamics.ScheduleCommon.Foundation.Plugins.SchedulePlugin.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory, ISharedVariablesService sharedVariablesService)
at Microsoft.Dynamics.ScheduleCommon.Foundation.Plugins.PluginBase.Execute(IServiceProvider serviceProvider)

at lambda_method(Closure )


FpsPlugin: PluginLocal.Dispose, Depth: 1
FpsPlugin: PluginLocal.Dispose, Depth: 1
FpsPlugin: PluginLocal.Dispose, Depth: 1

Activity Id: 0677ffa2-2050-4359-89a6-76e6f1accd23

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Unable to enter a new Rating Value for proficiency - Error code: 0x80040265

    Hi lorena.vilela@redcross.org.nz & Shruti Vyas

    Can you please share the value of the Rating Model? I think the issue is with Rating Model. 

    If you are not tried it with the System Administrator role then, please try it also.

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Shruti Vyas Profile Picture
    Shruti Vyas 5 on at
    RE: Unable to enter a new Rating Value for proficiency - Error code: 0x80040265

    I am facing the same issue. Is it resolved at your end.

    pastedimage1661949710048v1.png

  • RE: Unable to enter a new Rating Value for proficiency - Error code: 0x80040265

    Hi Lorena,

    Thank you for reaching out.

    I have tested my end unable to repro this . Please send an email to this email address: Dynamics 365 Industry Accelerators Support <dynindaccsupport@microsoft.com> so, that will schedule a call and will check further on this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans