laptop and a wrench


The Calculate tool is unable to populate strings containing apostrophes, and returns the error "Invalid sql expression" in the map viewer and from the ArcGIS REST API.

Last Published: May 12, 2015 ArcGIS Online
Bug ID Number BUG-000086590
SubmittedApril 2, 2015
Last ModifiedAugust 21, 2020
Applies toArcGIS Online
Version found3.7
Operating SystemN/A
Operating System VersionN/A
Version Fixed3.8


Option 1: Use an accent instead of an apostrophe. Option 2: Edit the field through the pop-up manually. Option 3: Calculate using an existing field that has an apostrophe in the value.

Steps to Reproduce

Bug ID: BUG-000086590


  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic