oops error when adding image to course

Getting an Oops or Invalid File Type error when adding a course or learning path tile image. Use square 1:1 images like 450×450 (or multiples) or rectangular 450×253 (or multiples); tiles display at 250×250 and images smaller than that will be stretched. Questions this answers: Why do I get an Oops error when uploading a course image? What image size should I use for a course or learning path tile?