Permission errors when embedding civi-event on home page
You should take a look at the permissions of the CMS CiviCRM runs on (e.g. Drupal). You need to grant anonymous users the permission to "register for events" and probably also "view event info".

Maybe you could also add your CiviCRM version as well as the one of your CMS.