# Issues with new line characters in USPS url

**URL:** <https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550>\
**Category:** GraphQL API\
**Created:** [July 26, 2023, 5:48pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550 "2023-07-26T17:48:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ed\_antiquecandle](https://avatars.discourse-cdn.com/v4/letter/e/ecc23a/32.png) [@ed\_antiquecandle](https://community.shiphero.com/u/ed_antiquecandle)\
**Post date:** [July 26, 2023, 5:48pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/1 "2023-07-26T17:48:02Z")

</div>

Hello,

fulfillment.custom\_tracking\_url seems to adding a new line character to USPS tracking urls?

Does anyone know why this is occurring for shipments webhooks?

---

<div class="post-metadata">

**Author:** ![ed\_antiquecandle](https://avatars.discourse-cdn.com/v4/letter/e/ecc23a/32.png) [@ed\_antiquecandle](https://community.shiphero.com/u/ed_antiquecandle)\
**Post date:** [July 26, 2023, 6:15pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/2 "2023-07-26T18:15:48Z")

</div>

It looks like this is also breaking the url on the admin side as well. The link looks like this on the admin side: [https://tools.usps.com/go/TrackConfirmAction\_input?strOrigTrackNum=](https://tools.usps.com/go/TrackConfirmAction_input?strOrigTrackNum=)

API: [https://tools.usps.com/go/TrackConfirmAction\_input?strOrigTrackNum=""92346903060085300001160509](https://tools.usps.com/go/TrackConfirmAction_input?strOrigTrackNum=%22%2292346903060085300001160509)

This is impacting our tracking links down the line as Shopify is dealing with the same issue as shiphero admin is where it breaks the link apart and doesn’t include the tracking url.

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [July 27, 2023, 11:29am UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/3 "2023-07-27T11:29:35Z")

</div>

Hey @ed_antiquecandle ,

Thanks for reaching out!  
I’ll look into this and get back to you as soon as I can.

Please let me know if you have any further questions or concerns.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![ed\_antiquecandle](https://avatars.discourse-cdn.com/v4/letter/e/ecc23a/32.png) [@ed\_antiquecandle](https://community.shiphero.com/u/ed_antiquecandle)\
**Post date:** [July 27, 2023, 3:27pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/4 "2023-07-27T15:27:48Z")

</div>

Hello @Rayanp ,

Any update on this? This is causing issues for our customer service.

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [July 28, 2023, 2:14pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/5 "2023-07-28T14:14:08Z")

</div>

Hey @ed_antiquecandle,

Apologies for the delay here.

I wanted to ask if Order 377883563 was broken on Shopify side as well? I noticed that there was a line break in the webhook body for that tracking url.

Also is it possible to share any screenshots of what this looks like on the Shopify side of things? You can PM me, if the information is sensitive.

Please let me know if you have any questions or concerns.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![ed\_antiquecandle](https://avatars.discourse-cdn.com/v4/letter/e/ecc23a/32.png) [@ed\_antiquecandle](https://community.shiphero.com/u/ed_antiquecandle)\
**Post date:** [July 28, 2023, 2:32pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/7 "2023-07-28T14:32:07Z")

</div>

Hello,

It looks like either you or Shippo fixed the issue with the USPS tracking links. They no longer have the random new line characters.

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [July 28, 2023, 2:42pm UTC](https://community.shiphero.com/t/issues-with-new-line-characters-in-usps-url/2550/8 "2023-07-28T14:42:36Z")

</div>

Hey @ed_antiquecandle,

That’s great news! Thanks for the quick replies and keeping us updated.  
Please let me know if there’s anything we can assist with!

Best,  
RayanP
