The KTM Duke 250 (2018) model does not have an OBD 2 (On-Board Diagnostics) system. OBD 2 is a standardized diagnostic system used in cars and some motorcycles to monitor and report issues related to the engine and other vehicle systems.
While the Duke 250 (2018) may have a diagnostic system for troubleshooting and identifying certain faults, it is not based on the OBD 2 protocol. KTM motorcycles typically use their own proprietary diagnostic systems that are specific to their models.
To retrieve error codes or diagnose issues on the KTM Duke 250 (2018), it is best to consult the owner's manual or reach out to an authorized KTM dealer or service center for accurate information regarding the specific diagnostic system used in that model. They will be able to provide you with the relevant error codes and troubleshooting procedures for that particular motorcycle.