I understand that you are seeing the above error message when viewing a newly created product, is that correct?
Please clarify if this is a new issue, or one you have been experiencing for a while. Also, do you recall any recently installed plugins and/or changes/updates being made to the site prior to noticing this issue?
Additionally, are you seeing this error message while logged in as admin, or logged out (i.e different browser/incognito mode)?
If the latter, please can you check that the Product Status is set to Published and the Products Visibility is set to public, and not private:
Should the above be correct, could you head over to Dashboard → Settings → Permalinks, and resave your existing settings, without making any changes to the settings.