hammem / monarchmoney

Python API for Monarch Money
MIT License
159 stars 29 forks source link

[Bug] 404 Error #108

Closed Exohayvan closed 6 months ago

Exohayvan commented 6 months ago

Using the following code:

import asyncio
from monarchmoney import MonarchMoney

async def main():
    mm = MonarchMoney()
    try:
        print("Attempting interactive login...")
        await mm.interactive_login()
        print("Login successful")

        # Fetch account information
        accounts = await mm.get_accounts()
        print("Accounts fetched successfully")

        # Print account details
        for account in accounts:
            print(f"Account Name: {account['name']}")
            print(f"Balance: {account['balance']}")
            print("-" * 20)
    except Exception as e:
        print(f"An error occurred: {e}")

# Run the main function
asyncio.run(main())

When ran, I get the following error:

An error occurred: HTTP Code 404: Not Found

Edit: Error happens between print("Attempting interactive login...") and print("Login successful")

Exohayvan commented 6 months ago

Just kidding! I signed up with apple and didn't set an account password. Apologies!