The @actual-app/api package creates empty metadata.json files (0 bytes) during the downloadBudget() process, leading to "Unexpected end of JSON input" errors when getBudgets() tries to parse them.