We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Items not showing. Id is Expected to be an int

Thread ID:





148134 Oct 7,2019 07:13 PM UTC Oct 14,2019 09:27 AM UTC Blazor 2
Tags: Scheduler
Asked On October 7, 2019 07:13 PM UTC

I'm trying to show and edit some data from an ODataV4 source.

<EjsSchedule @ref="scheduleView" TValue="@CityHoliday">
    <ScheduleEventSettings TValue="@CityHoliday" Fields="@cityHolidayField">
        <EjsDataManager Url="@(appSettings.BaseUrl + "/cityholidays")" Adaptor="@Syncfusion.EJ2.Blazor.Adaptors.ODataV4Adaptor" CrossDomain="true">
        <ScheduleView Option="View.Month"></ScheduleView>

When I run this I see the data coming back form the OData, but nothing is displayed. When I add appointments I get this error:

{"errors":{"Id":["Error converting value 4 to type 'System.Guid'. Path 'Id', line 1, position 23."]},"title":"One or more validation errors occurred.","status":400,"traceId":"0HLQBB6A9OOJR:00000003"}

How should I be setting a field? How should I set the Id field to be an Guid, not an int? I assume things aren't showing because of the problem with the id.

Thank you,


Nevitha Ravi [Syncfusion]
Replied On October 8, 2019 01:41 PM UTC

Hi John, 

Greetings from Syncfusion Support. 

We could reproduce the reported issue at our end and confirm this as a defect. Therefore we have logged the bug report for the same which can be tracked from the following link. 

The fix for the issue will be included in our upcoming bi-weekly patch release expected to be rolled out in the mid of October, 2019.


Nevitha Ravi [Syncfusion]
Replied On October 14, 2019 09:27 AM UTC

Hi John, 

Thanks for being patience. 

The reported issue has been fixed, now with the latest version 17.3.17-beta you can create appointments when the type of Id is GUID. Kindly upgrade your version to avail the fix and let us know if you need any further assistance. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon