twenty
twenty copied to clipboard
Bug when trying to access the file page
Description
When accessing the files tab on a company show, an alert gets triggered:
Error during useFindManyRecords for "attachments", Response not successful: Received status code 400
I'm not able to reproduce it. Does it happen on every page for you or is there a specific pattern? would it be possible give the response to the graphql request (from your network tab)?
{ "errors": [ { "message": "Variable \"$filter\" got invalid value { companyId: { eq: \"8ad6b436-0b8b-4c7e-b649-946305aa8e5e\" } }; Field \"companyId\" is not defined by type \"AttachmentFilterInput\". Did you mean \"company\"?", "locations": [ { "line": 1, "column": 27 } ] } ] }
I realize with your error message I had logged it too: https://github.com/twentyhq/twenty/issues/2796