Apis not working and giving 500 error

Get scheduled flights
get /operators/{id}/flights/scheduled

Get information for a historical flight
get /history/flights/{ident}

all the fill example and real example i have tried its giving 500 error