Open vikey89 opened 3 years ago
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
@vikey89 is this still an issue? I'm attempting to reproduce and cannot get any error using &thumbs=true
.
@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
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?
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:
Removing the 'thumbs=true' query parameter solves it