Target API HV000028: Unexpected exception during isValid call

stevemalko

29-07-2020

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
          }
        ]
      }
    }

Accepted Solutions (0)

Answers (1)

Answers (1)

LordOfTheRings

31-07-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 ?