jhonderson / actual-http-api

Basic Actual Budget API exposed through HTTP endpoints
MIT License
40 stars 9 forks source link

Actual budget passwords with special characters not working. #8

Closed cgiacofei closed 7 months ago

cgiacofei commented 7 months ago

I was receiving the error:

Error accessing Actual Server, check Actual Server password Error: Could not get remote files

Changing my password from cU9~Qj@BP$jD]4q (real password that I'm no longer using) to one that was all alphanumeric resolved the issue for me.

I'm using docker compose so not sure if the issue is with the http-api handling the password or compose not escaping characters properly.

For reference this is how the environment was setup in the compose file:

    environment:
      - 'ACTUAL_SERVER_URL=https://<SERVER URL>'
      - 'ACTUAL_SERVER_PASSWORD=cU9~Qj@BP$jD]4q'
      - 'API_KEY=<KEY>'
cgiacofei commented 7 months ago

This has nothing to do with the http-api, docker was interpreting the $jD within the password as a variable.

jhonderson commented 7 months ago

Thanks for reporting this, it might be useful for users facing same issue