Skip to main content
Solved

ArcGIS Online Error

  • June 7, 2019
  • 2 replies
  • 97 views

runneals
Supporter
Forum|alt.badge.img+29

Message: ArcGIS Online Feature Service Writer: 'addResults' error for a feature in 'LAYER NAME'. The error code from the server was '1000' and the message was: 'Arithmetic overflow error converting expression to data type nvarchar.

Best answer by runneals

Solution: A field is not being converted to the proper datatype (in this case a varchar). Use a StringFormatter to convert it to the type.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

runneals
Supporter
Forum|alt.badge.img+29
  • Author
  • Supporter
  • Best Answer
  • June 7, 2019

Solution: A field is not being converted to the proper datatype (in this case a varchar). Use a StringFormatter to convert it to the type.


chriswilson
Enthusiast
Forum|alt.badge.img+21
  • Enthusiast
  • March 4, 2024

Getting this error when writing to AGOL (original data from CSV), however there are many fields and it’s not being specific as to which field/feature.