If you still have your serial number but lost the authorization code, you can use the official SketchUp License Manager to have the info resent.
If you are a legitimate owner of SketchUp 2017 and are trying to reinstall it, you may encounter issues: Sketchup 2017 License Key And Authorization Number
by providing your serial number and the associated email address. In-Software Lookup If you still have your serial number but