-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Went through the readme to install this, from master.
It seems no matter what from and to address I put in, the extension returns
{
"error": {
"code": "SHIPMENT.INVALID_PARAMS",
"message": "Unable to create shipment, one or more parameters were invalid.",
"errors": [
{
"to_address": "Invalid format."
},
{
"from_address": "Invalid format."
},
{
"parcel": "Invalid format."
}
]
}
}Went in and edited "lib/easypost.rb" in the gems files to log the request being sent, and the response. I can see the from and to address ID's from EasyPost. I can see the parcel ID in the log from EasyPost. Using their curl example from https://www.easypost.com/getting-started I can do the final step to create a shipment just fine using both address ID's, the parcel ID, and the API key from the solidus_easypost.rb initializer.
So it seems the extension is creating the addresses and the parcel okay, and there's nothing actually wrong with those, but it still returns that there's an invalid format in everything.
Any ideas what could be the cause of this issue? Thanks!