Skip to main content

Canada Post API create label error - "Contract Number is a required field.\r\n"

  • Aug 15, 2022 11:55 PM UTC
  • 1 reply
  • 2 views

I'm trying to create a label with the carrier Canada Post via API, but after i enter all the relevant fields for the api call the system returns a 500 error response:

 

 "Message": "An error has occurred.",
    "ExceptionMessage": "Contract Number is a required field.\r\n",
    "ExceptionType": "SS.Business.Shipping.Exceptions.ShippingProviderException"
 
This is a weird error because it is not in shipstation docs and i'm not sure what to pass as a parameter even though i have the contract number.
 
Has anybody had this same issue before?

1 reply

  • Jan 5, 2023 10:16 PM UTC

Just wanted to say that yes, I have had this issue persistently the only workaround was to get OneBalance but now that we have a credit account I would greatly prefer to use the standard Canada Post. Has anyone solved this?