Not a valid Analysis Code

There are a number of situations that result in this error message.

Possible Causes

  • The value for <AnalysisCode> is incorrect.
  • The Analysis Code specified in <AnalysisCode> does not exist.
  • The Analysis Code specified in <AnalysisCode>may exist but for a different Analysis Dimension.
  • The Analysis Code specified in <AnalysisCode> does exist but for the specified Analysis Dimension but the Analysis Hierarchy Label and/or Code does not exist for that Analysis Dimension.
Note: Analysis Code, Analysis Hierarchy Label and Analysis Hierarchy Code must all exist for the specified Analysis Dimension.

Suggested Actions

  • Check you have specified the correct value for <AnalysisCode>. If not, correct the value and rerun the payload.
  • If the Analysis Code specified in <AnalysisCode> is correct, check that you have specified the correct value for either <AnalysisDimension> and/or <AnlCat_SHead>. It may be that the Analysis Code has been set up for a different Analysis Dimension. If so, correct the <AnalysisDimension> and/or <AnlCat_SHead> values and rerun the payload.
  • Make sure that the Analysis Code specified in <AnalysisCode>, the Analysis Hierarchy Label specified in <AnalysisHierarchyLabel> and the Analysis Hierarchy Code specified in <AnalysisHierarchyCode> all exist for the Analysis Dimension specified in either <AnalysisDimension> and/or <AnlCat_SHead>.

Developer Notes

The CreateOrAmend SASI method returns this message if an invalid value is specified for Analysis Dimension in the <AnalysisDimension> element.