Access denied You are not allowed to access this page in Drupal 8

Please make sure the URL path exactly in the path same as the file system. It meant that you have not rewritten the URL via .htaccess.