[bug] Can not add filters #492

Closed
opened 2023-03-04 17:47:03 +00:00 by meaz · 2 comments

Your setup

From source

Extra details

Debian stable

Version

3.5.0-0-g07ccfafd9-develop

PostgreSQL version

13

What were you trying to do?

I'm trying to set a filter in the Settings -> Content -> Filters.

So for example input something (in my case, 'wordle'), check 'Home timeline', 'Public timeline', 'Drop instead of hide'.

Click 'Add New Filter'.

What did you expect to happen?

Be able to set a filter without issue.

What actually happened?

A 'Bad Request' popup in the right-up cornor when I click on 'Add New Filter'.

In the network monitor of web console:
there is a POST request to 'https://instance.org/api/v1/filters', responsed code 400 with contents below:

{
    "errors": {
        "detail": "Internal server error"
    }
}

Logs

[error] Internal server error: %Ecto.CastError{message: "expected params to be a map with atoms or string keys, got a map with mixed keys: [...]

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup From source ### Extra details Debian stable ### Version 3.5.0-0-g07ccfafd9-develop ### PostgreSQL version 13 ### What were you trying to do? I'm trying to set a filter in the Settings -> Content -> Filters. So for example input something (in my case, 'wordle'), check 'Home timeline', 'Public timeline', 'Drop instead of hide'. Click 'Add New Filter'. ### What did you expect to happen? Be able to set a filter without issue. ### What actually happened? A 'Bad Request' popup in the right-up cornor when I click on 'Add New Filter'. In the network monitor of web console: there is a POST request to 'https://instance.org/api/v1/filters', responsed code 400 with contents below: ```json { "errors": { "detail": "Internal server error" } } ``` ### Logs ```shell [error] Internal server error: %Ecto.CastError{message: "expected params to be a map with atoms or string keys, got a map with mixed keys: [...] ``` ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
meaz added the
bug
label 2023-03-04 17:47:03 +00:00

in the Settings -> Content -> Filters.

which frontend is this? I don't recognise that setting path

>in the Settings -> Content -> Filters. which frontend is this? I don't recognise that setting path
Author
[mangane](https://github.com/BDX-town/Mangane)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#492
No description provided.