Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- 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
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Error Message when saving an Opportunity.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Error Message when saving an Opportunit y.
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 02:51 PM - edited 01-02-2013 06:46 PM
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
Srinu M
Re: Error Message when saving an Opportunit y.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Error Message when saving an Opportunit y.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 10:24 PM
Hi
I think the error came sharing rule on opportunities. Please check any sharing rules are active. Deactive and try to create a record.

