cindy | Posts: 380

API to create a package in sender account

0 votes

when I tried to create a package using API call to my sender account (not the owner), even in the header, I put the sender API key there, but I got error message as 

{
    "code" : 401,
    "messageKey" : "error.unauthorised.noSession",
    "message" : "Failed to retrieve Session",
    "name" : "Unauthorized"
}

what's the proper way to create a package to sender account using API?

 

thanks,

Cindy


Duo_Liang | Posts: 3776

Reply to: API to create a package in sender account

0 votes

Hi Cindy,

 

Can you share your code snippet creating a package to [email protected] (without sensitive information) so that I can have a closer look at the code?

 

Duo


cindy | Posts: 380

Reply to: API to create a package in sender account

0 votes

Sure, will do.

 

Cindy


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off