<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
0D54z00007uMvIDCA0Okta Identity EngineWorkflowsAnswered2024-03-11T08:24:07.000Z2022-08-10T13:47:13.000Z2022-08-11T16:57:56.000Z

iamt.80022 (Customer) asked a question.

on okta-sdk-4.0.0 string array custom attribute mapping gives "Schema is invalid."

Hi i am trying to create a string array mapping for roles using mapping api.

Properties that i am setting are:

 

userSchemaAttribute.setTitle(attr);

userSchemaAttribute.setDescription(attr);

userSchemaAttribute.setType("array");

 

also tried with

userSchemaAttribute.setType("stringarray");

 

nothing works.

 


  • Mihai N. (Okta, Inc.)

    Hi @iamt.80022 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    I've been looking around for any similar reported issues and the only things slightly related to this was: 

    https://github.com/okta/terraform-provider-okta/issues/604

     

    That being said, I don't want to send you down the wrong path. 

    My advice would be to reach out to the devforum.okta.com to take advantage of their expertise.  

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products. 

     

     

    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! 

    --------------------------------

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Expand Post
This question is closed.
Loading
on okta-sdk-4.0.0 string array custom attribute mapping gives "Schema is invalid."