> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/spel-expression-issue-must-be-of-type-string-integer.md).

# SpEL expression issue- Must be of type string- "integer"

### Issue <a href="#issue" id="issue"></a>

Error noticed: `spec.endpoints.metricRelabelings.replacement in body must be of type string: "integer"`This error indicates that replacement expects a string instead of an integer. In the CRD some values may contain Regex expressions like `${}`. These characters in Spinnaker are used to evaluate SPEL expressions. There is a way to escape these characters but doesn't work for numbers at this time.

### Cause <a href="#cause" id="cause"></a>

Spinnaker is evaluating the expression and returning an integer causing the error.
