Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error with thumbs=true #62

Open
vikey89 opened this issue Apr 30, 2021 · 4 comments
Open

Internal Server Error with thumbs=true #62

vikey89 opened this issue Apr 30, 2021 · 4 comments
Assignees

Comments

@vikey89
Copy link

vikey89 commented Apr 30, 2021

The following request is producing an Internal Server Error:

Request:
https://api.nasa.gov/planetary/apod?api_key=[APY_KEY]&start_date=2020-09-12&end_date=2020-09-21&thumbs=true

Response:

{
  "code": 500,
  "msg": "Internal Service Error",
  "service_version": "v1"
}

Removing the 'thumbs=true' query parameter solves it

@ghost
Copy link

ghost commented May 3, 2021

Same here.
https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY&date=&concept_tags=True&count=100&start_date=&end_date=&thumbs=true 500 (INTERNAL SERVER ERROR)


How about always return thumbnail_url, undefined if media_type == "image"?


My use case, see line 58
image

@HelixSpiral
Copy link

@vikey89 is this still an issue? I'm attempting to reproduce and cannot get any error using &thumbs=true.

@HelixSpiral
Copy link

@JustinGOSSES I've been including &thumbs=true by default in an application I'm writing and I can't reproduce this. It's likely been fixed and this issue can be closed.

Link to the service that isn't erroring: https://github.com/HelixSpiral/apod-to-mqtt/blob/master/main.go#L34

@KevinScottBatchelor
Copy link

KevinScottBatchelor commented Oct 5, 2022

I can't seem to find it in the documentation here anywhere, but when I include the count parameter and thumbs=true parameter, I am not getting thumbnail_url at all. Is there a way around this?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants