Skip to content

Search is returning 500 Internal Server Error or Null #45

Description

@danwagnerco

Hey HacktheUniverse team -- very cool project!

I am getting an interesting response when attempting to use the search endpoint. The documentation, for example, is returning:

$ curl http://star-api.herokuapp.com/api/v1/search?q=%22Sun%22
{"status":"500","error":"Internal Server Error"}

image

On the other hand, when I try a different search, like the star "HIP1 HD224700 Gli", a null response comes back:

$ curl http://star-api.herokuapp.com/api/v1/stars/search?q=%22HIP1%20HD224700%20Gli%22
null

image

Am I incorrectly forming the URL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions