# 500 error on app when trying to ship

**URL:** <https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549>\
**Category:** API Queries (How To)\
**Created:** [February 25, 2022, 1:37pm UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549 "2022-02-25T13:37:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![riderodd](https://avatars.discourse-cdn.com/v4/letter/r/36C2B4/32.png) [@riderodd](https://developer-forum.veeqo.com/u/riderodd)\
**Post date:** [February 25, 2022, 1:37pm UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549/1 "2022-02-25T13:37:01Z")

</div>

Hi Veeqo team,

I’m working with the Shipping API in Veeqo. Sometimes (I haven’t identified exactly wen yet), when we click on the “Ship” button on Veeqo app, the server respond with a 500 error code.  
When I test the request directly on my app using Postman, without making the request through Veeqo, everything works as expected.  
But when my client use the Veeqo webapp to ship an order, Veeqo returns that error. I have nothing in logs about a 500 on my side. Even not sure that Veeqo makes a request to my app.

Here are the details of the request made from browser (on Veeqo app):

Request payload (removed IDs for privacy):  
{“shipment”:{“service\_type”:“xxx”,“parcels”:{“0”:{“dimensions”:{“height”:“1”,“width”:“1”,“length”:“1”,“weight”:“”,“unit”:“cm”},“weight”:540}},“total\_net\_charge”:“xxx”,“allocation\_id”:xxx,“carrier\_id”:xx,“update\_remote\_order”:“true”,“creation\_method”:“single\_shipping”},“carrier”:“custom”}

And the JSON response given by Veeqo:  
{status: 500, error: “Internal Server Error”}

Are you aware of that bug? Anything I can do to fix it?  
Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Kristien](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/kristien/32/157_2.png) [@Kristien](https://developer-forum.veeqo.com/u/Kristien)\
**Post date:** [March 7, 2022, 5:03pm UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549/2 "2022-03-07T17:03:14Z")

</div>

Hi, @riderodd!  
Welcome to the Veeqo developer forum!

To investigate this further, I will need the companies ID and an example order ID. You can use endpoint `/current_company` to get the company ID, but it is also present in the response in the `/orders` endpoint.

As soon as I get the example ID’s, I’ll be able to take a deeper dive into this for you.

Also, to confirm, have you been able to replicate this behaviour outside of the Veeqo web app?

Thanks,  
Kris.

---

<div class="post-metadata">

**Author:** ![riderodd](https://avatars.discourse-cdn.com/v4/letter/r/36C2B4/32.png) [@riderodd](https://developer-forum.veeqo.com/u/riderodd)\
**Post date:** [March 14, 2022, 11:07am UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549/3 "2022-03-14T11:07:59Z")

</div>

Hey @Kristien !

Sorry for the late reply.

There’s an order ID that generated a 500 error just now: 4679268565244  
And company ID: 26236  
Last error call with error was Mon, 14 Mar 2022 10:57:29 GMT

And I can confirm that I’m sure the 500 does not come from an error on my side, all logs tells that evrything is fine, and requests responded with 200 status code. When I make the request directly from Postman, not through Veeqo, it works in all cases. Hope that with the IDs you’ll be able to help me with that 🙂

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/E1E7EE/32.png) [@alexsunny123](https://developer-forum.veeqo.com/u/alexsunny123)\
**Post date:** [September 12, 2022, 8:53am UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549/4 "2022-09-12T08:53:14Z")

</div>

thanks my issue has been fixed.

---

<div class="post-metadata">

**Author:** ![alexsunny123](https://avatars.discourse-cdn.com/v4/letter/a/E1E7EE/32.png) [@alexsunny123](https://developer-forum.veeqo.com/u/alexsunny123)\
**Post date:** [April 6, 2023, 8:58am UTC](https://developer-forum.veeqo.com/t/500-error-on-app-when-trying-to-ship/549/5 "2023-04-06T08:58:31Z")

</div>

> [@riderodd](#):
>
> Hey @Kristien !
> 
> Sorry for the late reply.
> 
> There’s an order ID that generated a 500 error just now: 4679268565244  
> And company ID: 26236  
> Last error call with error was Mon, 14 Mar 2022 10:57:29 GMT
> 
> And I can confirm that I’m sure the 500 does not come from an error on my side, all logs tells that evrything is fine, and requests responded with 200 status code. When I make the request directly from Postman, not through [https://ometv.onl/](https://ometv.onl/) [https://chatroulette.top/](https://chatroulette.top/) Veeqo, it works in all cases. Hope that with the IDs you’ll be able to help me with that

thanks my issue has been fixed.
