Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finance-Deposits: Sorting by has_external returns 500 #226

Open
ebroda opened this issue Dec 19, 2024 · 2 comments
Open

Finance-Deposits: Sorting by has_external returns 500 #226

ebroda opened this issue Dec 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ebroda
Copy link
Member

ebroda commented Dec 19, 2024

Go to https://pool.dev.vivaconagua.org/finances/deposits
Sort by "Extern"

https://pool-api.dev.vivaconagua.org/v1/finances/deposit?limit=100&full_count=true&sort=has_external&sort_dir=asc
returns 500

@ebroda ebroda added the bug Something isn't working label Dec 19, 2024
@ebroda
Copy link
Member Author

ebroda commented Dec 19, 2024

Local kann ich das nachvollziehen.

Fehlermeldung:

{
"id":"847f24c8-1005-4b91-bb40-35a25a7e67e5",
"time":"2024-12-19T00:18:37.005831912Z","remote_ip":"127.0.0.1","host":"pool-api.localhost","method":"GET",
"uri":"/v1/finances/deposit?limit=100\u0026full_count=true\u0026sort=has_external\u0026sort_dir=desc",
"user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0",
"status":500,
"error":"(Location16007) PlanExecutor error during aggregation :: caused by :: can't convert from BSON type bool to String",
"latency":4383772,"latency_human":"4.383772ms"
}

@ebroda
Copy link
Member Author

ebroda commented Dec 19, 2024

If the PR in vcago is merged and the pool-webapp is rebuild with the updated dependency, this issue should be resolved. At least locally in my instance this afterwards worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant