Hi, I’m using Netlify CMS on a Gatsby site, and sometimes, and I have no idea why, editors are not able to add images or media.
To be clear, what happens is this: an editor creates or edits a new item in a collection, which has several fields on it, including an image and two videos (which may be large). They click on “choose an image”, and nothing happens. An error “failed to load file from Git-Gateway” appears in the console. Screenshot:
All the images and video are in Netlify LMS. And this is within a Gatsby site. I’ve upgraded everything to the latest as of today, but still no dice. I’ve also tried multiple browsers, clearing cache, etc. Any ideas?
As an additional data point: I noticed that only four of the six videos that are pulled in here are throwing an error in the above screenshot. This led me to think it could be some LFS/LMS issue. So indeed, I cloned the repo into a new directory, and ran
git lfs fetch --all and was greeted by a handful of
object not found messages. Could this be related?
PPS: I just noticed another thing about those four videos – the links that show for them in the right pane are direct links to the files in the
static directory. Which is fine. But the two videos that don’t have this issue – they’re also links, but they’re a
blob: url. What’s going on?