Loading

Pipeline Forecasting Tab Error "Something unexpected happened" for Some Users

Publiseringsdato: Nov 9, 2026
Beskrivelse

Some users see an error on the Forecasts tab while others on the same profile don't. This article explains the cause (a selected forecast date range that extends into a fiscal year that isn't defined in Setup), why it affects only certain users, and how to fix it.

Symptoms

  • Opening the Forecasts tab, or changing the forecast date range, shows an error. The usual message is "Something unexpected happened. Please refresh your page."
  • Only some users are affected. Other users with the same profile, permissions, and role can open the tab.
  • Forecast hierarchy, role, and the Allow Forecasting permission all look correct.
  • The error appears before the Forecasts page finishes loading, so the affected user can't interact with the page.
  • The error appears in production but may not appear in a Full sandbox.
  • The current fiscal year is defined, but the next one isn't. This is most common in orgs that use Custom Fiscal Years.

Why This Happens

  • Each user's Forecasts tab remembers a selected date range, such as a set of months, periods, or quarters.
  • When the page loads, it builds a list of fiscal periods for that range. If the range reaches into a fiscal year that isn't defined in Setup, the list comes back empty and the page can't load.
  • Users whose date range stays inside defined fiscal years aren't affected. This is why the problem looks user-specific. Users can set their own date range, and admins can't override it after a user changes it. 
  • Opportunity data isn't the cause. Other users having open opportunities in the missing year doesn't prevent their Forecasts tab from loading, and it doesn't mean the fiscal year is defined. The error depends on the affected user's own selected date range.
  • Your sandbox may not reproduce the error. Sandbox data and users' saved date range preferences can differ from production. If the affected user's saved range is wider in production, the sandbox won't show the problem.

Check Your Fiscal Year Setup

  1. From Setup, enter Fiscal Year in the Quick Find box and select Fiscal Year. 
  2. Confirm that a fiscal year is defined for the current year and for the following year. For custom fiscal years, check the end date of the last year you defined.
Løsning
  1. Define the missing fiscal year.
    1. Standard fiscal year: in Setup, open Fiscal Year and confirm the start month and settings cover the year in question.
    2. Custom fiscal year: in Setup, open Fiscal Year and create the next fiscal year, starting the day after your last defined year ends. 
  2. Ask the affected user to refresh the Forecasts tab, or sign out and back in.
  3. Confirm the Forecasts tab loads and that the date range selector shows the new periods.

Best Practice: Define Fiscal Years Ahead of Time

  • Orgs that use Custom Fiscal Years should always have the next fiscal year defined before the current year ends. Ideally define it 6 or more months in advance.
  • Users can forecast up to 15 months, 15 fiscal periods, or 8 quarters into the future or past, so a forecast range can reach into the next fiscal year well before the current one ends. 
  • Add a yearly reminder for admins to define the next fiscal year.

Common Custom Fiscal Year Setup Errors

ErrorWhat it meansWhat to do
"This fiscal year may not be moved outside its current date range."You're editing an existing year in a way that pushes it past its original start or end date.Keep the year inside its current range, or restructure the fiscal year as described below.
"One or more adjacent years is a Gregorian year and therefore may not be automatically adjusted."The year you're creating sits next to a Gregorian (standard) year, and Salesforce can't shift that year automatically.Move the adjacent years into the custom structure, or restructure the fiscal year as described below.

Most of these errors come from an incorrect number of days in one or more years.
Before you change fiscal years, review the impact. Creating the first custom fiscal year deletes quotas and adjustments in the corresponding and subsequent standard fiscal years. Changing the fiscal year also shifts fiscal periods and affects opportunities and forecasts across the org, so back up your data first. 
If restructuring is needed:

  1. Review the days in each custom fiscal year. They must be continuous, with no gaps or overlaps.
  2. Test the change in a sandbox first.
  3. Back up your data, then edit or recreate the custom fiscal year.

If the Error Continues

Check the following:

  • The affected user's forecast date range is inside defined fiscal years.
  • The user has the Allow Forecasting permission and appears in the forecast hierarchy.
  • The default forecast date range in Forecasts Settings is defined and falls inside defined fiscal years.

As a last resort, remove the user from the forecast hierarchy and remove their Allow Forecasting permission, then add both back. This resets their selected date range. Be aware that the user will lose any quota and adjustment data stored for them. Contact Salesforce Support before doing this in production.

Knowledge-artikkelnummer

005465208

 
Laster
Salesforce Help | Article