I've been wanting to move my weigh in data to fatsecret. I have an export of historical weight from a previous tool (fitbit) and wrote a python script to update it, however it seems the weight.update method is limited to within 2 days of the current date.
params = {
'method': 'weight.update',
'current_weight_kg': weight_kg,
'date': date_int,
'format': 'json'
}
But I get the following:
Error for 2026-02-20: Date must be within 2 days from today: please check your date (current date 20508)
Error for 2026-02-19: Date must be within 2 days from today: please check your date (current date 20508)
Error for 2026-02-18: Date must be within 2 days from today: please check your date (current date 20508)
Error for 2026-02-17: Date must be within 2 days from today: please check your date (current date 20508)
Error for 2026-02-16: Date must be within 2 days from today: please check your date (current date 20508)
Thanks in advance!