Spring Global (Spring Omni) Error: The property phone_number is required

Error in the response:

The property phone_number is required while registering the shipment.

Solution:

This error is occurring when recipient’s phone_number parameter is not sent in the Shipment API https://api.myparcel.com/shipments

According to the Spring Omni documentation, phone_number is an optional parameter:

Spring Omni documentation

We raised ticket on Spring Omni and they replied: The shipment is failing to be created due to recipient phone number not being populated. Although, the schema shows this as optional but Spring require the phone number so the carriers can send notifications to the recipient (if they offer that service…)
So phone_number is a required parameter and need to be sent in shipment API.

For more Related Blogs, Please visit here:

Spring Global (Spring Omni) Error: Shipment is not being Registered

Spring Omni Manifest

Spring Global (Spring Omni): Billing Concept

Spring Global (Spring Omni) Error: Resource Not Found

Spring Global (Spring Omni) Error: Getting Blank Response While Fetching Label

Akash Roshan

Akash is a PHP developer and wants to share his knowledge through Blogs. He is currently growing in the IT industry while fulfilling his own goals.

Leave a Reply

Your email address will not be published. Required fields are marked *