The exclusive deep inelastic electroproduction of d="mmlsi1" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si1.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=51a634e452cd74246684f897028f8290" title="Click to view the MathML source">ψ(2S)dden">de"> and d="mmlsi19" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si19.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=c90945f386407beaa7072553b60432bd" title="Click to view the MathML source">J/ψ(1S)dden">de"> at an ep centre-of-mass energy of 317 GeV has been studied with the ZEUS detector at HERA in the kinematic range d="mmlsi3" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si3.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=56340dc0aaff5582360b815246075234" title="Click to view the MathML source">2<Q2<80 GeV2dden">de">, d="mmlsi28" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si28.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=9dfef45440888ea1a6f8abbc17888ee9" title="Click to view the MathML source">30<W<210 GeVdden">de"> and d="mmlsi145" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si145.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=3916b3fafdbb1340b14f3b53f79b2f84" title="Click to view the MathML source">|t|<1 GeV2dden">de">, where d="mmlsi6" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si6.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=9456c48e83e7d287033d481b28f98d13" title="Click to view the MathML source">Q2dden">de"> is the photon virtuality, W is the photon–proton centre-of-mass energy and t is the squared four-momentum transfer at the proton vertex. The data for d="mmlsi146" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si146.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=1d5585884595f4968359e219adcc2e05" title="Click to view the MathML source">2<Q2<5 GeV2dden">de"> were taken in the HERA I running period and correspond to an integrated luminosity of 114 pb−1. The data for d="mmlsi201" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si201.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=3fed3e213245e1a674e62f19d752c8ce" title="Click to view the MathML source">5<Q2<80 GeV2dden">de"> are from both HERA I and HERA II periods and correspond to an integrated luminosity of 468 pb−1. The decay modes analysed were d="mmlsi9" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si9.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=bf80a07e5cc5a0836022e93839377237" title="Click to view the MathML source">μ+μ−dden">de"> and d="mmlsi10" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si10.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=f3fa5553364d22fea40bcccd0ed4c0dc">dth="106" alt="View the MathML source" title="View the MathML source" src="/sd/grey_pxl.gif" data-inlimgeid="1-s2.0-S0550321316301523-si10.gif">dden">de"> for the d="mmlsi1" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si1.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=51a634e452cd74246684f897028f8290" title="Click to view the MathML source">ψ(2S)dden">de"> and d="mmlsi9" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si9.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=bf80a07e5cc5a0836022e93839377237" title="Click to view the MathML source">μ+μ−dden">de"> for the d="mmlsi19" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si19.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=c90945f386407beaa7072553b60432bd" title="Click to view the MathML source">J/ψ(1S)dden">de">. The cross-section ratio d="mmlsi105" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si105.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=378c67363aa2ec90e350d6e7c6164ae0" title="Click to view the MathML source">σψ(2S)/σJ/ψ(1S)dden">de"> has been measured as a function of d="mmlsi12" class="mathmlsrc">data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0550321316301523&_mathId=si12.gif&_user=111111111&_pii=S0550321316301523&_rdoc=1&_issn=05503213&md5=6c06f054943d4c643bb60219958c82ec">dth="46" alt="View the MathML source" title="View the MathML source" src="/sd/grey_pxl.gif" data-inlimgeid="1-s2.0-S0550321316301523-si12.gif">dden">de"> and t. The results are compared to predictions of QCD-inspired models of exclusive vector-meson production.