I am developing the custom aura component for adding products to the opportunity for achieving client requirements. For this, I have created a custom price book entry object but while creating the opportunity Line item record it gives the "System.DmlException: Insert failed. First exception on row 0; first error: FIELD\_INTEGRITY\_EXCEPTION, Price Book Entry ID: id value of incorrect type"
error. Because Opportunity Line Item has a PricebookEntryId field lookup to Pricebook Entry object and which is required. Please help me to solve this issue.