How to use textures with DSA?
My issue was in the call to glTextureStorage2D(texture, 1, GL_RGB, width, height);

From the man page


  internalformat must be one of the sized internal formats given in Table 1 below, one of the sized depth-component formats GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT16, one of the combined depth-stencil formats, GL_DEPTH32F_STENCIL8, or GL_DEPTH24_STENCIL8, or the stencil-only format, GL_STENCIL_INDEX8


Changing GL_RGB to GL_RGB8 fixed my issue.