WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Search is returning 500 Internal Server Error or Null #45

@danwagnerco

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions