We are currently using the Onfleet SDK to create tasks using Python (pyonfleet==1.2.1).
I faced the error "Expecting value: line 1 column 1 (char 0)" when using the Onfleet SDK.
Code:
from onfleet import Onfleet Onfleet(api_key=os.environ["ONFLEET_API_KEY"]).tasks.create(body=task)
The strange part is that the same request payload succeeded when I retried it manually a few hours later, without any modification.
Timestamps:
- Error occurred at: 2025-10-15 17:52:14.442 UTC
- Manual retry succeeded at: 2025-10-16 03:04 UTC
Please help me review this error and explain what could cause this intermittent error.
Any insights or logs from your side would be greatly appreciated to help ensure the stability of our integration.
Thank you for your help!