Re: Visa Travel Notification Service "Add Itinerary" error

DT47
Regular Visitor

Visa Travel Notification Service "Add Itinerary" error

I created the "Add itinerary" request below and received an error. Please review the request and response below and confirm why I am receiving the error.

 

{
  "addTravelItinerary": {
    "returnDate""2023-12-28",
    "partnerBid""10074101",
     "departureDate""2023-11-30",
    "userId""TestUser",
    "destinations": [
      {
        "country""840",
        "state""CA"
      },
      {
        "country""124",
        "state""ON"
      },
      {
        "country""356"
      }
    ],
    "primaryAccountNumbers": [
{
"cardAccountNumber""4079410000032211"
},
{
"cardAccountNumber""4079410000032212"
},
{
"cardAccountNumber""4079410000032213"
},
{
"cardAccountNumber""4079410000032214"
},
{
"cardAccountNumber""4079410000032215"
},
{
"cardAccountNumber""4079410000032216"
},
{
"cardAccountNumber""4079410000032217"
},
{
"cardAccountNumber""4079410000032218"
},
{
"cardAccountNumber""4079410000032219"
},
{
"cardAccountNumber""4079410000032220"
}
]        
  }
}
and received the below error on testing 
 
{"responseStatus":{"status":401,"code":"9123","severity":"ERROR","message":"Expected input credentials were not present","info":""}}
4 REPLIES 4
DT47
Regular Visitor

Re: Visa Travel Notification Service "Add Itinerary" error

This issue has been resolved. No further action needed

 

API_Products
Visa Developer Support Specialist

Re: Visa Travel Notification Service "Add Itinerary" error

Hi @DT47,

 

Can you please share how the error was fixed?  




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

DT47
Regular Visitor

Re: Visa Travel Notification Service "Add Itinerary" error

I realized that I have used incorrect authorization credentials after posting question. And it worked with correct credentials.
API_Products
Visa Developer Support Specialist

Re: Visa Travel Notification Service "Add Itinerary" error

Hi @DT47,

 

It's great to learn how you fixed the error. Thanks for sharing 😀 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.