Skip to content

BUG - Bad error message when querying for non-existent parameters #143

@greglucas

Description

@greglucas

Description of the issue

I was trying to query for an instrument that hasn't been deployed yet and was getting back a 502 Bad Gateway response. {"message": "Internal server error"}

https://api.dev.imap-mission.com/query?instrument=spacecraft

A query by instrument=swapi does still work. It would be nice to return the error message text or what went wrong in the response because I thought it might have been a bad imap-data-access deploy again (but everything seems to be working with other responses).

ping @daralynnrhode as I think you might already be working on this? But, I wasn't sure if this overlaps with one of your current issues or not.

Steps to reproduce the issue

No response

Expected behavior (What should happen)

No response

Actual behavior (What does happen)

No response

Code Snippet:

Code

Additional notes, affected areas, and suggested fixes

No response

Metadata

Metadata

Assignees

Labels

StudentbugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions