Skip to content

Bug: Point-in-time job fails to register #1455

@WhitWaldo

Description

@WhitWaldo

Expected Behavior

Expected that the job would be properly scheduled without error and invoke when it should.

Actual Behavior

Getting exception in console:

== APP == Unhandled exception. Dapr.DaprException: Schedule job operation failed: the Dapr endpoint indicated a failure. See InnerException for details.
== APP == ---> Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="failed to schedule job due to: rpc error: code = Unknown desc = job failed validation: >>HERE2: expected exactly 6 fields, found 1: [2025-02-10T08:34:15.0470990+00:00]")
== APP == at Dapr.Jobs.DaprJobsGrpcClient.ScheduleJobAsync(String jobName, DaprJobSchedule schedule, Nullable1 payload, Nullable1 startingFrom, Nullable1 repeats, Nullable1 ttl, CancellationToken cancellationToken) in P:\Code\dapr-dotnet-sdk\src\Dapr.Jobs\DaprJobsGrpcClient.cs:line 119
== APP == --- End of inner exception stack trace ---
== APP == at Dapr.Jobs.DaprJobsGrpcClient.ScheduleJobAsync(String jobName, DaprJobSchedule schedule, Nullable1 payload, Nullable1 startingFrom, Nullable1 repeats, Nullable1 ttl, CancellationToken cancellationToken) in P:\Code\dapr-dotnet-sdk\src\Dapr.Jobs\DaprJobsGrpcClient.cs:line 131
== APP == at Program.

$(String[] args) in P:\Code\dapr-dotnet-sdk\examples\Jobs\JobsSample\Program.cs:line 53
== APP == at Program.(String[] args)

Steps to Reproduce the Problem

Run Jobs example as-is with point-in-time trigger (e.g. 10 seconds from now).

Release Note

RELEASE NOTE: FIX Point-in-time job poorly formed and doesn't register

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions