Additive manufacturing, also known as 3D printing, allows the formation of complex geometric structures layer by layer. Predicting errors in this process may help identify potential problems in a timely manner and minimise waste. A human may detect an additive manufacturing error, but cannot provide continuous monitoring or real-time correction. The article is focused on the design of a camera system design for online monitoring of the 3D printing process with the task of detecting process errors arising during 3D printing of objects. The article describes the methodology for tracking the occurrence of process errors in 3D printing, which are identified in the OctoPrint Nexus AI plug-in environment for the subsequent application of a suitable solution to minimize the occurrence of defects. The application of a real-time process monitoring system including the ability to correctly predict anomalous behaviour in the context of artificial intelligence has proven to be an appropriate solution to that particular problem.