Skip to content

/api/rotation/:slug returning 500 error for all requests #1

Description

@acarrasquillo

Hello @andrewschristison I hope you are well thanks for the awesome API I have found the issue below trying to query rotation endpoints

https://cropgraph.com/api/rotation/tomato

{"error":true,"code":"INTERNAL_ERROR","message":"rotation-families.json is missing crop slug \"early-girl-tomato\"; every calendar slug must be assigned to a family (or \"miscellaneous\")","status":500}

Also got similar error from CLI

cropgraph rotation tomato                                                                                                                                    26-05-27 - 11:09:38
cropgraph: rotation-families.json is missing crop slug "early-girl-tomato"; every calendar slug must be assigned to a family (or "miscellaneous")

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