Skip to content

ArgumentError (invalid date) #3

@charliepugh92

Description

@charliepugh92

Hello! I am trying to use this to pull company profiles, and when I try to get the company profile for PE, I receive the error above.

I believe this is because Finnhub is returning null for an expected date inside the company profile, and when the CompanyProfile model tries to deserialize the data, it is not checking if the value is parsable by Date first, causing the error to arise. I can make an MR to fix if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions