Trouble Getting Arduino Portenta H7 vision shield camera to work on Edge Impulse website

I was able to connect my arduino portenta h7 to the edge impulse project I’m working on. However, the camera feed doesn’t show up, and I keep getting the following error messages:

Snapshot stream error: ERR: Failed to get snapshot (-1)

Sampling failed

Invalid length for snapshot, expected 76800 or 230400 values, but got 12

It seems to not be a hardware issue, because I tried using the camera on the blob detection tutorial in OpenMV IDE and it worked with no issues. What am I doing wrong here?