Twenty

T

Twenty

Building a modern Open Source CRM, powered by the community

Join

❓︱help

🏡︱general

💻︱development

Authentication failed after deleting a user from core.user

Hi, I'm self hosting Twenty. I deleted a user from core."user" table. After that, I'm not able login with the emails I was previously able to login with. I get this error in the backend: "BaseGraphQLError [GraphQLError]: User workspace not found" ...

Heap limit Allocation reached on first time running "npx start" after setting up the project.

I think the issue is due to backend scripts because same error occurs on running
npx nx start twenty-server
npx nx start twenty-server
command but I don't know how I can resolve this. ``` <--- Last few GCs ---> [0] [0] [42828:0x3aff7000] 40414 ms: Scavenge (interleaved) 2043.4 (2085.9) -> 2042.0 (2086.2) MB, pooled: 0 MB, 11.70 / 0.01 ms (average mu = 0.261, current mu = 0.256) allocation failure; [0] [42828:0x3aff7000] 41101 ms: Mark-Compact 2043.7 (2086.2) -> 2037.8 (2085.7) MB, pooled: 0 MB, 678.57 / 0.01 ms (average mu = 0.164, current mu = 0.082) allocation failure; scavenge might not succeed...

DB column error

hi, I've got an error in the server logs about a missing column in the database (running version 0.54) ```logs [...] previous line is a big query [...]...
No description

Access to addressLat and addressLng fields in the GUI?

I see these fields in the database, but I can't find any way to set these in the GUI. These fields would be great to use for creating a report of the geographical distribution of leads and sales. I can always populate these fields manually and/or through a batch job, but it would be great if I could set them through the GUI as well......

Error: Field Metadata of type RELATION with id befd9a49-20cc-4200-8a5c-e1ed07cb1e96 has no settings

After updating gradually to v0.53 front-end is unreachable with following error: ```server-1 | Exception Captured server-1 | { user: undefined, workspace: undefined } server-1 | [ server-1 | Error: Field Metadata of type RELATION with id befd9a49-20cc-4200-8a5c-e1ed07cb1e96 has no settings...

How to pass attachment url in attachment creation API

I am trying to create atachments through API. I pass my file's s3 public url. But when I try to view the file I get the below error - {"statusCode":400,"message":"Folder https: is not allowed","error":"Bad Request"} My API request - curl https://api.twenty.com/rest/attachments \ --request POST ...

Importing Multi Select Values

Hello! I'm trying to figure out how we can import multi select values which are not yet defined on the data model setting. I was wondering if anyone knows a workaround. Thanks in advance!

Sync between workspaces?

Hi everybody, I'm so new with Twenty. Due to the lack of permission and role define now, I have to separate peoples to workspaces. But some data must be shared! Is there a way to sync data between two workspaces? Like one table is created or updated in workspace 1, and another table in workspace 2 will be synced....

Rest API relation field filter not working

We have lots of relational fields and want to filter records based on that. ut when we try to filter records with relation field we get error . W e tried this tewnty cloud and self hosted solution both . Have attached screen shots for the error and query details. We basically want to filter the relation fields . Please let us know if there is something wrong in the syntax we used....
No description

Need help to resolve a query regarding issue #7283

Hi team, I wanted to work on this issue Timeline Feed: Exclude Empty Record Creation/Deletion Logs #7283 Open I have dropped in a comment on the issue regarding my query. Would really appreciate it if someone from the team could take a quick look. It is linked here. ...

Update problem

Hello all I tried to update from 0.51 and it seems that something gone wrong. I installed 0.52, 0.53, 0.54, but in the database, the version of my current workspace stay stuck at 0.51.14....

Workflow x n8n integration

Hi everyone, I have a small pro account and I'm trying to trigger a Twenty workflow to create custom object data from an n8n HTTP POST request. I'm having a hard time formatting my JSON. Is there any documentation for this use case? Thank you!

How to set filed unique

I want to set a field unique, but I dont't know how to do that, place help.
No description

Is the redis instance used just for caching?

I want to add persistant storage to my redis container. In case my server goes off. So the question is if the redis instance is used just for chache or is it handling some other tasks? Use case | Persist data? Pure cache (e.g. page caching) | ❌ No...

TypeError: Cannot set properties of undefined (setting 'name')

Following a modification to the data model, the application crashed and has the following error: Please find attached the error logs...

Application speed is super slow after loading records

3 VCPU s - 4 GB RAM - 80 GB storage but have maybe 37k records in the instance. SLOW as hell. I think the front end is trying to load all files and not using pagination? this a feature not a bug? Or is my server setup suboptimal?

DB Structure -

Environment - Self Hosted (EC2 , Postgres RDS) We have hosted twenty in our environment and everything works fine actually but we noticed a major change in the DB structure from what we have in a localhost setup and our production environment. The schema structure Localhost - the tables asscociated to metadata are under metadeta Self Hosted Production - the tables asscociated to metadata are under core...
No description

✅ Accounts not syncing [CRON stopped]

Users are complaining that they don't see new companies appearing. This started to happen on version v0.50 in production. I've tried to upgrade our testing instance to v0.52, but that didn't help. Users still can't see new companies in testing on version v0.50. The only repeating error I see in the logs is: ```server-1 | Computing new Datasource for cacheKey: 81faddf5-64e9-4321-aac5-66837683bc11-27 out of 0 server-1 | Exception Captured server-1 | { user: undefined, workspace: undefined } server-1 | [...

Error when setting up database for local setup

Hello, got this error when doing npx nx database:reset twenty-server

Can't delete any records

I've just setup a new a workspace, and tried a delete the sample recods permanenetly, however it gave this error : table "company" violates foreign key constraint "FK_ee066ddacfce46c9a7cb90edd1a" on table "person", i also created new records just to make sure it's not because it was created by "system", but its still the same,
No description