Let $U\subset X$ be an open immersion of separated algebraic stacks of finite type over a field , Let $E$ be a vector bundle on $U$ .

In which cases can we extend $E$ to a vector bundle on $X$? Same question if $U$ is a Deligne Mumford stack or a quotient Deligne Mumford stack.