<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00000cGO8C0AWOkta Classic EngineAPI Access ManagementAnswered2025-04-09T05:57:23.000Z2025-04-08T09:06:15.000Z2025-04-09T05:57:23.000Z

VedP.96934 (Customer) asked a question.

Strange issue in updating user for just one of the fields

So we have a string field in our profile editor which when we try to update via the update APIs works just fine for any other string value, but when i give "TV" we get this error: O-E0000001. Have anyone ever faced anything similar?


  • Hi @VedP.96934 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    According to the docs, this error points to an API validation exception which is a generic error typically associated with bad requests.  

    I would recommend reviewing your attribute schema to ensure you are passing the expected value type for the affected attribute (Okta Admin Dashboard > Directory > Profile Editor > Okta User (default) ) . Make sure, the attribute is indeed data type "String", and if it is "string", check if it's not perhaps "Restricted" or set for specific enumerated values. 

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Expand Post
    Selected as Best
  • Hi @VedP.96934 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    According to the docs, this error points to an API validation exception which is a generic error typically associated with bad requests.  

    I would recommend reviewing your attribute schema to ensure you are passing the expected value type for the affected attribute (Okta Admin Dashboard > Directory > Profile Editor > Okta User (default) ) . Make sure, the attribute is indeed data type "String", and if it is "string", check if it's not perhaps "Restricted" or set for specific enumerated values. 

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge.

    Expand Post
    Selected as Best
  • VedP.96934 (Customer)

    Hey @Mihai Negoita - Okta (Okta, Inc.)​, Thanks for the answer. I explored a bit further and got that the attribute was set to have a min length of 3 and perhaps that was the reason it was throwing an error while setting that field with a value "TV" which only have 2 chars.

This question is closed.
Loading
Strange issue in updating user for just one of the fields