# Error While Trying To Generate Fedex Label Through API

**URL:** <https://forums.ordoro.com/t/error-while-trying-to-generate-fedex-label-through-api/491>\
**Category:** Bug Reports\
**Created:** [November 20, 2019, 4:58pm UTC](https://forums.ordoro.com/t/error-while-trying-to-generate-fedex-label-through-api/491 "2019-11-20T16:58:37Z")\
**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:** [November 20, 2019, 4:58pm UTC](https://forums.ordoro.com/t/error-while-trying-to-generate-fedex-label-through-api/491/1 "2019-11-20T16:58:37Z")

</div>

When trying to generate a FedEx label through API for a sandbox account.  
I get error “The remote server returned an error: (500) Internal Server Error.”

I am using endpoint “[https://apiverson.ordoro.com/order/M-20191119-104909/label/fedex](https://apiverson.ordoro.com/order/M-20191119-104909/label/fedex)”

passing the following json file

{“shipper\_id”:209403,  
“packages”:[{“box\_shape”:“YOUR\_PACKAGING”,“length”:8,“height”:6,“width”:4,“declared\_value”:10.0,“dry\_ice\_weight”:0.0,“weight”:1.0}],  
“recipient\_address\_is\_residential”:false,  
“delivery\_confirmation”:“NO\_SIGNATURE\_REQUIRED”,  
“shipping\_method”:“FEDEX\_GROUND”}

---

<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:** [November 22, 2019, 12:12am UTC](https://forums.ordoro.com/t/error-while-trying-to-generate-fedex-label-through-api/491/2 "2019-11-22T00:12:54Z")

</div>

looks like a duplicate of [Sandbox Shipper FedEx](https://forums.ordoro.com/t/sandbox-shipper-fedex/490)
