Genesys Cloud Developer Forum

Get Schedule Error - LocalDateTime

Trying to GET list of schedules from /api/v2/architect/schedules using Ruby SDK.
Getting below error:

NameError: uninitialized constant PureCloud::LocalDateTime

from /.rvm/gems/ruby-2.1.4/gems/purecloudplatformclientv2-93.0.0/lib/purecloudplatformclientv2/models/schedule.rb:559:in `const_get'

Is this a bug? Using latest version 93.0.0

This appears to be a bug as the LocalDateTime type being referenced is not being imported from anywhere. I've opened an issue to get this fixed. As a workaround until a fix is released, you should be able to patch the gem's source to make those properties strings.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.