- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
01-02-2013 02:51 PM - edited 01-02-2013 06:46 PM
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?
01-02-2013 10:22 PM
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.