Comments (4)
I'm unable to reproduce this error myself. Can you provide me the exact values you are using for the addresses and other variables such as price
and the parcel dimensions/weight? What does the rest of your logic look like? Having as much information will help us debug this.
I'd also recommend passing in all the data directly to the shipment create call. This will save you an API call for each address creation and the parcel creation greatly speeding up your code.
from easypost-python.
I tried to recreate it in a standalone script but it works there. I went back and wrapped the price in a float() function and it works now. I think there is still a bug going on as passing a string into insurance does work when tested. I think it might be coming from passing a django model property [not executed right away] vs now making a copy using float() [executing now] but Iām not sure exactly. Some django jankiness I guess. Thank you. Great package!
from easypost-python.
@Justintime50 Quick question tho. Does the from or to address require a phone number to ship?
from easypost-python.
That depends on the carrier and/or destination. For those kinds of questions, the best resource will be our support team which can be reached at [email protected]. Best of luck!
from easypost-python.
Related Issues (20)
- Transliteration of non-roman text HOT 1
- Shipment.create error message with no details HOT 2
- Error Handling Around Customs Items Not Exposing Proper Message HOT 4
- Encode Bodies as JSON Instead of urlencoding
- Adapter max_retries initialization won't work for older requests library that might be installed HOT 8
- Testing in local appengine environment causes non-test-failure errors
- VCR playback appears to mask errors HOT 4
- Tracker create_list() function keeps retuning a 403 HOT 7
- Investigate if this error occurs for other objects/fields or is only for this one field `customs_item['description']`
- [Bug]: Looking for easypost.beta HOT 3
- Swap Update Brand, Carrier, User, and Webhook Endpoints to use PATCH HTTP Method HOT 1
- Update Partner White Label Tests to Account for New `has_more` and `referral_customers` keys HOT 1
- Disable SSL Verification HOT 4
- [Bug]: trouble using tax_identifiers on each shipment of an order. HOT 1
- [Bug]: Problem Getting a report that was previously created. HOT 1
- [Bug]: easypost.Event.retrieve_all_payloads results in AttributeError: type object 'Payload' has no attribute 'construct_from' HOT 3
- [Bug]: AttributeError: EndShipper object has no attribute _unsaved_values HOT 10
- [Feat]: Upgrade Guide HOT 1
- [Bug]: `ShipmentService.regenerate_rates` has incorrect return value type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easypost-python.