- This topic has 9 replies, 2 voices, and was last updated 1 year, 7 months ago by Travis P..
-
AuthorPosts
-
11 April 2025 at 8:34 am #8692SISyed I.
Hi when trying to generate a shipping label on screen I am getting the following error in business central
The calling EasyPost function failed. Status 422: Unprocessable Entity. Unable to proceed, one of the shipments does not have the requested rate available to it. Object id: order_56f19f7d020a4cb89090be6b26b7a612
I saw a video in which it was printing the label but not displaying it on screen if it can only be printed on a printer is there a specific type of printer or any works and is it setup using universal print management in Business central
11 April 2025 at 9:04 am #10334TPTravis P.Insight WorksThe message means that the selected carrier and service are not available for that address. Most of the time it means that the address is wrong and needs to be corrected, so double check it with the customer or Google it to see if it is right.
If you upgrade to Dynamic Ship, automated address validation is available:
If the address is correct, try a different carrier or service to find one that is valid. If you still cannot get a rate, you will need to check with your carrier rep to see why they are rejecting the order.
As for printing, the label is just a PDF file, so it is up to your browser if you have that configured to download files automatically or prompt. Order Ship Express does not control that function. More printing options are available in Dynamic Ship where it can be controlled as a report in Business Central.
14 April 2025 at 3:51 am #10335SISyed I.Hi Travis
Thanks for the update the address is correct as I am able to find it on google and also use online map functionality in BC to find the address is there a specific format for how a address should be entered in Business central in order for the shipping label to pick up???
Also I will check whether it has to do with the carrier service not distributing to that location
14 April 2025 at 7:24 am #10336TPTravis P.Insight WorksAll carriers require following USPS standard formatting, so all state and country codes must be 2-digit ISO codes.
14 April 2025 at 8:00 am #10337SISyed I.Hello Travis,
We are using a 2 digit code for country region as well as ISO code may it have anything to do with address or postal code as when we search it up on google it shows up
14 April 2025 at 11:01 am #10338TPTravis P.Insight WorksOrder Ship Express cannot check the address for you, so I would recommend forwarding that message to su*****@******st.com for more details about why it was rejected.
23 April 2025 at 6:39 am #10347SISyed I.hi I got in touch with Easy Post they are saying the issue has to do with the API you guys are sending to them can you please clarify
I am mentioning there exact email reference below.
To sum up below message they are basically saying This seems to be because the <code data-ogsc=”” data-ogsb=”rgb(248, 248, 248)”>carrier string that was passed was “Canada Post” instead of “CanadaPost”.
In BC we have setup shipping agent code as CANADAPOST without space. So where it is picking it up
Thanks for reaching out!
I reviewed order_56f19f7d020a4cb89090be6b26b7a612 and found that the Shipment inside it, shp_3d3bd70f5e8a4eaf9051f5b823f062bd, contained the following rates from Canada Post:
<table data-ogsc=””>
<thead data-ogsc=””>
<tr data-ogsc=””>
<th valign=”top” data-ogsc=””>shipment_id</th>
<th valign=”top” data-ogsc=””>carrier_account_id</th>
<th valign=”top” data-ogsc=””>id</th>
<th valign=”top” data-ogsc=””>mode</th>
<th valign=”top” data-ogsc=””>created_at</th>
<th valign=”top” data-ogsc=””>carrier</th>
<th valign=”top” data-ogsc=””>service</th>
<th valign=”top” data-ogsc=””>rate</th>
<th valign=”top” data-ogsc=””>currency</th>
</tr>
</thead>
<tbody data-ogsc=””>
<tr data-ogsc=””>
<td valign=”top” data-ogsc=””>shp_3d3bd70f5e8a4eaf9051f5b823f062bd</td>
<td valign=”top” data-ogsc=””>ca_4b36bc2434774f6b9b940d1415edebd1</td>
<td valign=”top” data-ogsc=””>rate_715190ef9ebf4bdb8015af5c0060798f</td>
<td valign=”top” data-ogsc=””>test</td>
<td valign=”top” data-ogsc=””>2025-04-11T15:32:25Z</td>
<td valign=”top” data-ogsc=””>CanadaPost</td>
<td valign=”top” data-ogsc=””>ExpeditedParcel</td>
<td valign=”top” data-ogsc=””>20.34</td>
<td valign=”top” data-ogsc=””>USD</td>
</tr>
<tr data-ogsc=””>
<td valign=”top” data-ogsc=””>shp_3d3bd70f5e8a4eaf9051f5b823f062bd</td>
<td valign=”top” data-ogsc=””>ca_4b36bc2434774f6b9b940d1415edebd1</td>
<td valign=”top” data-ogsc=””>rate_34ae5842368c41ad909160ac7af981e0</td>
<td valign=”top” data-ogsc=””>test</td>
<td valign=”top” data-ogsc=””>2025-04-11T15:32:25Z</td>
<td valign=”top” data-ogsc=””>CanadaPost</td>
<td valign=”top” data-ogsc=””>RegularParcel</td>
<td valign=”top” data-ogsc=””>20.34</td>
<td valign=”top” data-ogsc=””>USD</td>
</tr>
<tr data-ogsc=””>
<td valign=”top” data-ogsc=””>shp_3d3bd70f5e8a4eaf9051f5b823f062bd</td>
<td valign=”top” data-ogsc=””>ca_4b36bc2434774f6b9b940d1415edebd1</td>
<td valign=”top” data-ogsc=””>rate_f06527473b2743e5afdf46a311c2b61f</td>
<td valign=”top” data-ogsc=””>test</td>
<td valign=”top” data-ogsc=””>2025-04-11T15:32:25Z</td>
<td valign=”top” data-ogsc=””>CanadaPost</td>
<td valign=”top” data-ogsc=””>Xpresspost</td>
<td valign=”top” data-ogsc=””>21.67</td>
<td valign=”top” data-ogsc=””>USD</td>
</tr>
<tr data-ogsc=””>
<td valign=”top” data-ogsc=””>shp_3d3bd70f5e8a4eaf9051f5b823f062bd</td>
<td valign=”top” data-ogsc=””>ca_4b36bc2434774f6b9b940d1415edebd1</td>
<td valign=”top” data-ogsc=””>rate_7f75b8e48c5e4f848d271094be27a34f</td>
<td valign=”top” data-ogsc=””>test</td>
<td valign=”top” data-ogsc=””>2025-04-11T15:32:25Z</td>
<td valign=”top” data-ogsc=””>CanadaPost</td>
<td valign=”top” data-ogsc=””><strong data-ogsc=””>Priority</td>
<td valign=”top” data-ogsc=””>25.85</td>
<td valign=”top” data-ogsc=””>USD</td>
</tr>
</tbody>
</table>
Meanwhile, the request to <code data-ogsc=”” data-ogsb=”rgb(248, 248, 248)”>buy this Order was the following:<code data-ogsc="" data-ogsb="rgb(248, 248, 248)">{ "carrier": "Canada Post", "service": "Priority", "format": "json", "controller": "orders", "action": "buy", "version_prefix": "v2", "id": "order_56f19f7d020a4cb89090be6b26b7a612", "order": {} }This received the error you mentioned:
<code data-ogsc="" data-ogsb="rgb(248, 248, 248)">{ "error": { "code": "ORDER.RATE.UNAVAILABLE", "message": "Unable to proceed, one of the shipments does not have the requested rate available to it.", "errors": [] } }This seems to be because the <code data-ogsc=”” data-ogsb=”rgb(248, 248, 248)”>carrier string that was passed was “Canada Post” instead of “CanadaPost”, as there was indeed a matching rate for CanadaPost – Priority. Could you check with Insight Works about how to adjust what is being passed to our API there?
23 April 2025 at 8:38 am #10350TPTravis P.Insight WorksThis error is cause because EasyPost reports the name differently when looking at the rates vs the carrier account. The carrier name is set in table 70098531 the way that it was imported from EasyPost, so there is no user interface to edit it. You will need to use a config package to edit the Carrier Name value for Canada Post to remove the space.
23 April 2025 at 10:38 am #10353SISyed I.Hi it is setup as you are mentioning CanadaPost with no space in the shipping agent side in BC which is like carriers
23 April 2025 at 1:24 pm #10354TPTravis P.Insight WorksCan you reply to the email that you received April 16 from ticket 158385 on this issue with a contents of table 70098531? The forum is just for usability questions, so it not possible to do troubleshooting here.
-
AuthorPosts
- Sign in below to reply.