Reply
Regular Contributor
Srinu
Posts: 57
0

Error Message when saving an Opportunity.

[ Edited ]

Hi All,

 

I am getting below error while creating an opportunity through my Wizard:

 

Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, An issue occured in creating sharing rule for Opportunity: Ending position out of bounds: -1: []

 

 

Recently I have refreshed my sandbox from production and after that am getting the above error.

 

Can any one suggest me, what is the reason behind this error?

 

Thank You,

Srinu

Thanks in Advance,
Srinu M
Trusted Contributor
Premanath
Posts: 255
0

Re: Error Message when saving an Opportunity.

Check your Validation Rules

Or Any Trigger / Test classes go through that.

 

Otherwise Use Debug logs for view errors

 

Note that Below 50,000 records only you can import from wizard.

Regular Contributor
sivaext
Posts: 143
0

Re: Error Message when saving an Opportunity.

Hi

 

I think the error came  sharing rule on opportunities. Please check any sharing rules are active. Deactive and try to create a record.