The reason you get the page saying "You do not have permission to access this page" is because the code you copy/paste has a space at the end of it. I've done this a few times and it's a pain to get it.
Simply go back 1 page and remove the space, usually found at the end of the pasted code.
Simply go back 1 page and remove the space, usually found at the end of the pasted code.