I think this one is getting me today. Maps we had for a few years now no longer forcing the required fields all of a sudden. I am using all Map Viewer Classic. I have not touched anything in Field Maps web. Just a straight publish from a GDB in ArcMap.
I tried the process posted to update the template but it did not make a change.
I see the space in templates.
But when I go to fix it in templates it has no space.
I have tried adding and then removing a space and a few other things but it still stays with the space in the JSON.
Nullable is set correctly
LOCAL_ID (type: esriFieldTypeString, alias: LOCAL_ID, SQL Type: sqlTypeOther, length: 255, nullable: false, editable: true)
I then tried the linked script but we have 2 factor so it fails. Not sure why it would ask for a un/pass when it can just use the Pro login.
Unable to generate token.
Invalid username or password.
(Error Code: 400)
So now I am stuck. Only some of my services are doing this. Maybe a diff between publishing with Pro or ArcMap. Is this some new bug? If so is it getting fixed?
thanks