getImage() returns "Error: Bad response status code 301"

started having the same issue around the same time as you. still not working today. it’s been working for a couple years straight with no problems.

related, had a similar issue a couple years ago