Hello, this could be from an oil sending unit, wiring issue, or actual oil pressure issue. Have the oil pressure of the engine inspected with a manual gauge to find out what the engine oil pump is actually producing before moving forward.
RepairPal Certified shops can diagnose and repair your 1999 Volkswagen Beetle. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.