[Job,MJ] #77 added try catch to handle 500 error when periods are not available