sushmakanugu | Posts: 48

Package is in 'Invalid state'

0 votes
Team, We are getting exception saying 'Bad Request(400) : package is in invalid state' while doing client.SendPackage(package). I would like to know, in what all cases we will get this error. Thanks, SK

harishaidary | Posts: 1812

Reply to: Package is in 'Invalid state'

0 votes
Hi there, You would normally get that error if your package is in TRASH or SENT status. Could you share a package id for which this error is happening? Thanks,

sushmakanugu | Posts: 48

Reply to: Package is in 'Invalid state'

0 votes
Hi Haris, Here is the package id for which we got the error: '491UzrKHuVLtO6yGEfWaQcNamP0=' Thanks, SK

harishaidary | Posts: 1812

Reply to: Package is in 'Invalid state'

0 votes
Your package is in SENT status. Make sure that in your code you are not double calling client.SendPackage(package).

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