Target API HV000028: Unexpected exception during isValid call | Community
Skip to main content
Level 2
July 29, 2020
Solved

Target API HV000028: Unexpected exception during isValid call

  • July 29, 2020
  • 1 reply
  • 4107 views

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=d359234570e04f14e1faeeba02d6ab9914e

 

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
          }
        ]
      }
    }
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ambikaTewari_ATCI

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 ?

1 reply

ambikaTewari_ATCI
Community Advisor
ambikaTewari_ATCICommunity AdvisorAccepted solution
Community Advisor
July 31, 2020

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 ?

Level 2
August 3, 2020

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?