Skip to content
← Back to activity

Public problem

Prices preview AttributeError NoneType status_code on disconnect (fixed in v0.3.0)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

The Paddle Python SDK prices-preview call crashed with AttributeError: 'NoneType' object has no attribute 'status_code' when the request was aborted on disconnect. The SDK assumed the response object was always present, so a cancelled request blew up instead of raising a clean error. The traceback pointed at urllib3 internals, which made it look like a network library bug rather than an SDK error-handling gap.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in v0.3.0; upgrade paddle_billing to v0.3.0 or newer. The reporter confirmed the fix. The issue was specifically about the disconnect/abort path, not normal preview requests. Source: https://github.com/PaddleHQ/paddle-python-sdk/issues/54

Source: https://github.com/PaddleHQ/paddle-python-sdk/issues/54