Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

Target API HV000028: Unexpected exception during isValid call

Avatar

Level 3

Trying to hit a basic Target API call through postman, following the instructions found here: https://developers.adobetarget.com/api/delivery-api/#section/User-Permissions-(Premium)

Getting the following error: HV000028: Unexpected exception during isValid call

 

details:

POST  https://<clientID>.tt.omtrdc.net/rest/v1/delivery?client=<clientID>&sessionId=d359234570e04f14e1faee...

 

payload:

{
      "context": {
        "channel": "web",
        "browser" : {
          "host" : "demo"
        },
        "address" : {
        },
        "screen" : {
          "width" : 1200,
          "height": 1400
        }
      },
      "property" : {
        "token": "25ab4fa4-da59-b461-e442-1ab323f125dd"
      },
        "execute": {
        "mboxes" : [
          {
            "name" : "target-global-mbox",
            "index" : 1
          }
        ]
      }
    }
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I have provided the property token and local mbox name in the POST API, I was able to get the 200 response

 

POST > https://xxx.tt.omtrdc.net/rest/v1/delivery?client=xxx&sessionId=100290adcb6a14043309f8789b21b0c18ba

 

Body as raw > json 

{
      "context": {
        "channel""web",
        "browser" : {
          "host" : "production"
        },
        "address" : {
          "url" : "http://somewebsite.test.com/"
        },
        "screen" : {
          "width" : 1200,
          "height"1400
        }
      },
      "property" : {
        "token""f6fb2018-92d3-f3f5-36ee-40e7affb1804"
      },
        "execute": {
        "mboxes" : [
          {
            "name" : "customMbox",
            "index" : 1
          }
        ]
      }
}

Can you try with some local mbox nae and not the global mbox name ?

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

I have provided the property token and local mbox name in the POST API, I was able to get the 200 response

 

POST > https://xxx.tt.omtrdc.net/rest/v1/delivery?client=xxx&sessionId=100290adcb6a14043309f8789b21b0c18ba

 

Body as raw > json 

{
      "context": {
        "channel""web",
        "browser" : {
          "host" : "production"
        },
        "address" : {
          "url" : "http://somewebsite.test.com/"
        },
        "screen" : {
          "width" : 1200,
          "height"1400
        }
      },
      "property" : {
        "token""f6fb2018-92d3-f3f5-36ee-40e7affb1804"
      },
        "execute": {
        "mboxes" : [
          {
            "name" : "customMbox",
            "index" : 1
          }
        ]
      }
}

Can you try with some local mbox nae and not the global mbox name ?

Avatar

Level 3

Ive replaced my payload with the one your provided, including the sessionID.....still the same error.

 

The question i have is how to I create a local mbox? In my Target settings, i only see "global mbox"....in the A/B experience I created, i manually typed in a new mbox name "test-mbox"....what am I missing?