It should look like this:
[attachment=2:34n56jmr][/attachment:34n56jmr]
And not this:
[attachment=1:34n56jmr][/attachment:34n56jmr]
Also in Chrome you can view the value saved in local storage:
Open the Dev tools (F12). Select resources from the top bar and then click Local Storage on the left. See if you have the correct value stored there.
[attachment=0:34n56jmr][/attachment:34n56jmr]