Arran France 9 years ago That probably has something to do with it. I was using Bing Maps as a Location Service as a test which caused the error. I just typed into Bing Maps the address that it should have been and the county (UK state equivalent) came out different to the value we had in the system.I've added that value to the defined type but the error persists.
David Leigh 9 years ago I'm not sure which field(s) Rock tries to match on, but maybe try adding the value that is returned by Bing to both the "Value" and "Description" fields of the Defined Value? Could there be any issues with the Country Code of the Defined Value not matching the Country Code returned by Bing?
David Leigh 9 years ago So was my original guess correct, that the error was caused by the fact that the existing State field (County in your case) of the address did not exist as a Defined Value? If this is the case, the result should either be a warning message or the field should be left blank - it shouldn't cause this kind of error.
Arran France 9 years ago Yes. Bing Maps was parsing the address so that "England" was listed as the state. This obviously wasn't a defined value and was causing the exception.
David Leigh 9 years ago In that case, I think the answer is to log this as a bug. As I said before, I think the system should either warn or ignore the invalid value - but not throw an exception.