Legacy Dev Forum Posts

 View Only

Sign Up

Get Schedule Error - LocalDateTime

  • 1.  Get Schedule Error - LocalDateTime

    Posted 06-05-2025 18:17

    Stephanie_Fong | 2020-08-02 01:38:07 UTC | #1

    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


    tim.smith | 2020-08-03 14:38:53 UTC | #2

    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.


    system | 2020-09-03 14:38:53 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 8461