The 401 Unauthorized error occurs for the following reasons:
- The Aloha Store ID is not the same as stored in the Punchh platform
- Store ID in Punchh: 12
- API Key: d01d1d1b14e4ea318a8e3329442cf023
- Store ID in Punchh: 12
- The correct site number was not selected or the site number was incorrect in Aloha
- Firewall/Whitelisting is not configured, blocking the Punchh End Points. Please see our Firewall requirements here: Aloha Firewall Setup
To resolve this:
1. Stop all the 3 services:
a. Punchh Proxy Service
b. Aloha Punchh Monitor service
c. Aloha Punchh Service
2. Verify there's a file named c:\program files (x86)\punchh\bin\config\punchh.cfg
3. Run punchhConf.exe again. it should populate the punchh.cfg file with an API key.
4. Click 'Save'
The services should start. The Punchh.cfg file should have the API key filled in. After this, the site should show up on the heartbeats page.