Skip to content

DateTimeParseException on POST /images #223

Description

@kamathprasad9

I am trying to make the POST /images call from Field Book which uses the BrAPI Java client package. I noticed an issue regarding the timestamps that Breedbase is sending back for the call:
org.brapi.client.v2.model.exceptions.ApiException: j$.time.format.DateTimeParseException: Text '2024-06-17T15:16:24-0400' could not be parsed, unparsed text found at index 22

The abovementioned timestamp follows the formats mentioned in the BrAPI docs, but still we are not able to parse the response as intended. We can make a quick fix by changing the response from Breedbase, but I feel it is best if we address this issue in BrAPI client package

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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