# Error getting Endicia Label with new URL https://api.ordoro.com/v3/order/{order\_number}/label/endicia

**URL:** <https://forums.ordoro.com/t/error-getting-endicia-label-with-new-url-https-api-ordoro-com-v3-order-order-number-label-endicia/779>\
**Category:** Bug Reports\
**Created:** [August 23, 2021, 7:05pm UTC](https://forums.ordoro.com/t/error-getting-endicia-label-with-new-url-https-api-ordoro-com-v3-order-order-number-label-endicia/779 "2021-08-23T19:05:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://forums.ordoro.com/u/robert)\
**Post date:** [August 23, 2021, 7:05pm UTC](https://forums.ordoro.com/t/error-getting-endicia-label-with-new-url-https-api-ordoro-com-v3-order-order-number-label-endicia/779/1 "2021-08-23T19:05:22Z")

</div>

## Description

Error retrieving ENDICIA label using new URL [https://api.ordoro.com/v3/order/{order\_number}/label/endicia](https://api.ordoro.com/v3/order/%7Border_number%7D/label/endicia)

### When I did:

Everything was working fine until we used new URL and are receiving error.

I looked over [Ordoro API Documentation](https://docs.ordoro-dev.com/#operation/OrderByOrderNumberLabelEndicia_POST)  
and didnt see any element MailClass in the new documentation.

## Request Details

POST [https://api.ordoro.com/v3/order/](https://api.ordoro.com/v3/order/){ORDER NUMBER}/label/endicia

```json
{"shipper_id":XXXXXX,"packages":[{"box_shape":"Parcel","length":18.0000,"height":5.0000,"width":11.0000,"weight":14.5000}],"delivery_confirmation":"DeliveryConfirmation","shipping_method":"Priority","contents_type":"Merchandise","box_shape":"Parcel"}

```

## Response Details

### Body

```json
{

    "error_message": "Missing or invalid element: MailClass. Error encountered (Log ID: 39908) (Status: 1001)",

    "param": null

}

```

### Request ID

85920e4f-3a46-454c-8851-9ec1d0f10a09

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [September 2, 2021, 5:55am UTC](https://forums.ordoro.com/t/error-getting-endicia-label-with-new-url-https-api-ordoro-com-v3-order-order-number-label-endicia/779/2 "2021-09-02T05:55:41Z")

</div>

> [@robert](#):
>
> `Missing or invalid element: MailClass.`

That’s an error coming from the carrier, Endicia. That’s what we’re writing via `shipping_method`.

Looking at this request, it appears that you are attempting to create an international label with a domestic shipping method.
