Failure on recon, “Unknown mapping type, no mappings configured”

This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago by donetz_errasti.

  • Author
    Posts
  • #19096
     donetz_errasti
    Participant

    Error:

    {
    “code”: 400,
    “reason”: “Bad Request”,
    “message”: “Unknown mapping type, no mappings configured”
    }

    I´ve tried the recon this way:

    POST “http://localhost:8080/openidm/recon?_action=recon&mapping=systemNextelAccount_managedUser&waitForCompletion=true”

    And the sync.json file is attached.
    `
    “mappings” : [
    {
    “name” : “systemNextelAccount_managedUser”,
    “source” : “system/Nextel/account”,
    “target” : “managed/user”,
    “enableSync” : false,
    “properties” : [
    {
    “source” : “cn”,
    “target” : “displayName”
    },
    {
    “source” : “description”,
    “target” : “description”
    },
    {
    “source” : “givenName”,
    “target” : “givenName”
    },
    {
    “source” : “mail”,
    “target” : “mail”
    },
    {
    “source” : “sn”,
    “target” : “sn”
    },
    {
    “source” : “telephoneNumber”,
    “target” : “telephoneNumber”
    },
    {
    “source” : “sAMAccountName”,
    “target” : “userName”
    },
    {
    “target” : “accountStatus”,
    “default” : “active”
    }
    ],
    “policies” : [
    {
    “situation” : “CONFIRMED”,
    “action” : “UPDATE”
    },
    {
    “situation” : “FOUND”,
    “action” : “UPDATE”
    },
    {
    “situation” : “ABSENT”,
    “action” : “CREATE”
    },
    ..etc
    ´

    I don´t know why this error is been appearing.
    Could you help me?

    Thanks

    #19098
     donetz_errasti
    Participant

    When I start OpenIDM, the “scr list” command shows a set of services and the sync service is unsatiesfied. However, it should be active. How could I change it? could it be the reason of recon error?

    [ 11] [unsatisfied ] org.forgerock.openidm.sync

    #19108
     Jake Feasel
    Moderator

    The sync service being unsatisfied is definitely a problem. Make sure your sync config is properly-formatted JSON – that could be the issue.

    #19130
     donetz_errasti
    Participant

    I don´t think sync.json sintax is the problem, cause when I validate (using “cli.sh validate” command) json formats all of them are SUCCESS. How can I change that state of sync.json to active?

    Thanks for your help Jake!!

    Kind regards

    #19160
     Tom Wood
    Participant

    It might be worth trying to read the Sync configuration via REST to confirm it matches the data you’re expecting:

    GET http://localhost:8080/openidm/config/sync

    #19170
     donetz_errasti
    Participant

    okay!!

    thank you Tom!!

    #19178
     donetz_errasti
    Participant

    Could anyone tell me how to debugg the sync bundle ??due to change this state:

    [ 11] [unsatisfied ] org.forgerock.openidm.sync

    I´ve tried to calidate json format and is okay so I need another way.

    THANKS!!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?