When creating a new row, I keep getting 500 internal server error

Oh error here

 [BACKEND][2024-02-28 13:07:48] 406|2024-02-28 13:07:48.901|ERROR|baserow.core.formula.exceptions:formula_exception_handler:24 - Formula related error occurred: Cannot resolve keyword 'field_4902' into field. Join on 'not_trashed_field_4884' not permitted.. Please send this error to the baserow developers at https://baserow.io/contact.
 [BACKEND][2024-02-28 13:07:48] 406|2024-02-28 13:07:48.901|ERROR|baserow.core.formula.exceptions:formula_exception_handler:28 - Cannot resolve keyword 'field_4902' into field. Join on 'not_trashed_field_4884' not permitted.
 [BACKEND][2024-02-28 13:07:48] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:07:48]
 [BACKEND][2024-02-28 13:07:48]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1831, in transform
 [BACKEND][2024-02-28 13:07:48]     return self.try_transform(wrapped, name)
 [BACKEND][2024-02-28 13:07:48]            │    │             │        └ 'field_4902'
 [BACKEND][2024-02-28 13:07:48]            │    │             └ Col(database_table_521, database_table.Table521Model.field_4884)
 [BACKEND][2024-02-28 13:07:48]            │    └ <function Query.try_transform at 0x7fc0e0c9df70>
 [BACKEND][2024-02-28 13:07:48]            └ <django.db.models.sql.query.Query object at 0x7fc0ab70bb80>
 [BACKEND][2024-02-28 13:07:48]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1341, in try_transform
 [BACKEND][2024-02-28 13:07:48]     raise FieldError(
 [BACKEND][2024-02-28 13:07:48]           └ <class 'django.core.exceptions.FieldError'>
 [BACKEND][2024-02-28 13:07:48]
 [BACKEND][2024-02-28 13:07:48] django.core.exceptions.FieldError: Unsupported lookup 'field_4902' for ManyToManyField or join on the field not permitted.

I am running my script to check errors.
Here is another one.

 [BACKEND][2024-02-28 13:09:13] django.core.exceptions.FieldDoesNotExist: Table524Model_field_4957 has no field named 'None'
 [BACKEND][2024-02-28 13:09:13] 406|2024-02-28 13:09:13.396|ERROR|baserow.core.formula.exceptions:formula_exception_handler:24 - Formula related error occurred: Cannot resolve keyword 'field_4902' into field. Join on 'not_trashed_field_4884' not permitted.. Please send this error to the baserow developers at https://baserow.io/contact.
 [BACKEND][2024-02-28 13:09:13] 406|2024-02-28 13:09:13.396|ERROR|baserow.core.formula.exceptions:formula_exception_handler:28 - Cannot resolve keyword 'field_4902' into field. Join on 'not_trashed_field_4884' not permitted.
 [BACKEND][2024-02-28 13:09:13] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:09:13]
 [BACKEND][2024-02-28 13:09:13]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1831, in transform
 [BACKEND][2024-02-28 13:09:13]     return self.try_transform(wrapped, name)
 [BACKEND][2024-02-28 13:09:13]            │    │             │        └ 'field_4902'
 [BACKEND][2024-02-28 13:09:13]            │    │             └ Col(database_table_521, database_table.Table521Model.field_4884)
 [BACKEND][2024-02-28 13:09:13]            │    └ <function Query.try_transform at 0x7fc0e0c9df70>
 [BACKEND][2024-02-28 13:09:13]            └ <django.db.models.sql.query.Query object at 0x7fc0abb92f10>

 [BACKEND][2024-02-28 13:10:11] django.core.exceptions.FieldError: Cannot resolve keyword 'field_4932' into field. Join on 'not_trashed_field_4886' not permitted.
 [BACKEND][2024-02-28 13:10:11] 49.13.137.191:0 - "DELETE /api/database/rows/table/524/13060/ HTTP/1.1" 500
 [BACKEND][2024-02-28 13:10:11] ERROR 2024-02-28 13:10:11,159 django.request.log_response:241- Internal Server Error: /api/database/rows/table/524/13062/
 [BACKEND][2024-02-28 13:10:11] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 13:10:11]     raise exc_info[1]
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 13:10:11]     response = await get_response(request)
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 13:10:11]     response = await wrapped_callback(
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 13:10:11]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 13:10:11]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 13:10:11]     return await fut
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
[EXPORT_WORKER][2024-02-28 13:10:11] [2024-02-28 13:10:11,132: WARNING/ForkPoolWorker-1] 399|2024-02-28 13:10:11.132|INFO|baserow.contrib.database.search.handler:update_tsvector_columns:489 - Updated a unknown number of rows in table 521's tsvs with optional field filter of no fields.
 [BACKEND][2024-02-28 13:10:11]            │     └ (<baserow.contrib.database.api.rows.views.RowView object at 0x7fc0aa873cd0>, <rest_framework.request.Request: DELETE '/api/da...
 [BACKEND][2024-02-28 13:10:11]            └ <function RowView.delete at 0x7fc0d9e5faf0>
 [BACKEND][2024-02-28 13:10:11]
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/backend/src/baserow/contrib/database/api/rows/views.py", line 913, in delete
 [BACKEND][2024-02-28 13:10:11]     action_type_registry.get_by_type(DeleteRowActionType).do(
 [BACKEND][2024-02-28 13:10:11]     │                    │           └ <class 'baserow.contrib.database.rows.actions.DeleteRowActionType'>
 [BACKEND][2024-02-28 13:10:11]     │                    └ <function Registry.get_by_type at 0x7fc0de648d30>
 [BACKEND][2024-02-28 13:10:11]     └ <baserow.core.action.registries.ActionTypeRegistry object at 0x7fc0dd139c10>
 [BACKEND][2024-02-28 13:10:11]
 [BACKEND][2024-02-28 13:10:11]   File "/baserow/backend/src/baserow/contrib/database/rows/actions.py", line 322, in do
 [BACKEND][2024-02-28 13:10:11]     RowHandler().delete_row_by_id(user, table, row_id, model=model)
 [BACKEND][2024-02-28 13:11:15] 406|2024-02-28 13:11:14.972|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 13:11:15] ERROR 2024-02-28 13:11:15,071 django.request.log_response:241- Internal Server Error: /api/database/rows/table/524/13301/
 [BACKEND][2024-02-28 13:11:15] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/options.py", line 669, in get_field
 [BACKEND][2024-02-28 13:11:15]     return self.fields_map[field_name]
 [BACKEND][2024-02-28 13:11:15] KeyError: None
 [BACKEND][2024-02-28 13:11:15]
 [BACKEND][2024-02-28 13:11:15] During handling of the above exception, another exception occurred:
 [BACKEND][2024-02-28 13:11:15]
 [BACKEND][2024-02-28 13:11:15] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 13:11:15]     raise exc_info[1]
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 13:11:15]     response = await get_response(request)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 13:11:15]     response = await wrapped_callback(
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 13:11:15]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 13:11:15]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 13:11:15]     return await fut
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
 [BACKEND][2024-02-28 13:11:15]     result = self.fn(*self.args, **self.kwargs)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 490, in thread_handler
 [BACKEND][2024-02-28 13:11:15]     return func(*args, **kwargs)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
 [BACKEND][2024-02-28 13:11:15]     return view_func(*args, **kwargs)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/views/generic/base.py", line 103, in view
 [BACKEND][2024-02-28 13:11:15]     return self.dispatch(request, *args, **kwargs)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
 [BACKEND][2024-02-28 13:11:15]     response = self.handle_exception(exc)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
 [BACKEND][2024-02-28 13:11:15]     self.raise_uncaught_exception(exc)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
 [BACKEND][2024-02-28 13:11:15]     raise exc
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
 [BACKEND][2024-02-28 13:11:15]     response = handler(request, *args, **kwargs)
 [BACKEND][2024-02-28 13:11:15] django.core.exceptions.FieldError: Related Field got invalid lookup: id
 [BACKEND][2024-02-28 13:11:15] ERROR 2024-02-28 13:11:15,080 django.request.log_response:241- Internal Server Error: /api/database/rows/table/524/13300/
 [BACKEND][2024-02-28 13:11:15] Traceback (most recent call last):
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 13:11:15]     raise exc_info[1]
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 13:11:15]     response = await get_response(request)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 13:11:15]     response = await wrapped_callback(
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 13:11:15]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 13:11:15]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 13:11:15]     return await fut
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
 [BACKEND][2024-02-28 13:11:15]     result = self.fn(*self.args, **self.kwargs)
 [BACKEND][2024-02-28 13:11:15]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 490, in thread_handler

But as I told you above, all tables and fields were imported from Airtable. After imported, I just removed all rows from tables.
So all tables, fields and structures are very correct.

Sometimes you might see action_type=delete_row error in my logs, but please ignore those because I ran delete rows api as well.

Thanks.

Hi,
I have Country table in airtable and it has 192 records.
So, I created Country table and fields fresh from scratch in baserow like airtable, and I tried to move all of them to baserow using baserow api.
BUT!!!

Only 189 rows were moved, so I traced an error. Meaning, baserow api can’t handle even 192 records.
This makes me crazy. Please help me asap.

 [BACKEND][2024-02-28 15:02:06] 407|2024-02-28 15:02:06.673|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:02:06] 407|2024-02-28 15:02:06.694|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:02:06] ERROR 2024-02-28 15:02:06,691 django.request.log_response:241- Internal Server Error: /api/database/rows/table/533/
 [BACKEND][2024-02-28 15:02:06] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/options.py", line 669, in get_field
 [BACKEND][2024-02-28 15:02:06]     return self.fields_map[field_name]
 [BACKEND][2024-02-28 15:02:06] KeyError: None
 [BACKEND][2024-02-28 15:02:06]
 [BACKEND][2024-02-28 15:02:06] During handling of the above exception, another exception occurred:
 [BACKEND][2024-02-28 15:02:06]
 [BACKEND][2024-02-28 15:02:06] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 15:02:06]     raise exc_info[1]
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 15:02:06]     response = await get_response(request)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 15:02:06]     response = await wrapped_callback(
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 15:02:06]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 15:02:06]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 15:02:06]     return await fut
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
 [BACKEND][2024-02-28 15:02:06]     result = self.fn(*self.args, **self.kwargs)
 [BACKEND][2024-02-28 15:02:06] During handling of the above exception, another exception occurred:
 [BACKEND][2024-02-28 15:02:06]
 [BACKEND][2024-02-28 15:02:06] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 15:02:06]     raise exc_info[1]
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 15:02:06]     response = await get_response(request)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 15:02:06]     response = await wrapped_callback(
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 15:02:06]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 15:02:06]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 15:02:06]     return await fut
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
 [BACKEND][2024-02-28 15:02:06]     result = self.fn(*self.args, **self.kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 490, in thread_handler
 [BACKEND][2024-02-28 15:02:06]     return func(*args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
 [BACKEND][2024-02-28 15:02:06]     return view_func(*args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/views/generic/base.py", line 103, in view
 [BACKEND][2024-02-28 15:02:06]     return self.dispatch(request, *args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
 [BACKEND][2024-02-28 15:02:06]     response = self.handle_exception(exc)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
 [BACKEND][2024-02-28 15:02:06]     self.raise_uncaught_exception(exc)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
 [BACKEND][2024-02-28 15:02:06]     raise exc
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
 [BACKEND][2024-02-28 15:02:06]     response = handler(request, *args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/usr/lib/python3.9/contextlib.py", line 79, in inner

[BACKEND][2024-02-28 15:02:06]     return func(*args, **kwds)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/backend/src/baserow/api/decorators.py", line 105, in func_wrapper
 [BACKEND][2024-02-28 15:02:06]     return func(*args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/backend/src/baserow/api/decorators.py", line 170, in func_wrapper
 [BACKEND][2024-02-28 15:02:06]     return func(*args, **kwargs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/backend/src/baserow/contrib/database/api/rows/views.py", line 552, in post
 [BACKEND][2024-02-28 15:02:06]     return Response(serializer.data)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/serializers.py", line 555, in data
 [BACKEND][2024-02-28 15:02:06]     ret = super().data
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/serializers.py", line 253, in data
 [BACKEND][2024-02-28 15:02:06]     self._data = self.to_representation(self.instance)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/serializers.py", line 509, in to_representation
 [BACKEND][2024-02-28 15:02:06]     attribute = field.get_attribute(instance)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/fields.py", line 446, in get_attribute
 [BACKEND][2024-02-28 15:02:06]     return get_attribute(instance, self.source_attrs)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/fields.py", line 96, in get_attribute
 [BACKEND][2024-02-28 15:02:06]     instance = getattr(instance, attr)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 588, in __get__
 [BACKEND][2024-02-28 15:02:06]     return self.related_manager_cls(instance)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 962, in __init__
 [BACKEND][2024-02-28 15:02:06]     self.source_field = self.through._meta.get_field(self.source_field_name)
 [BACKEND][2024-02-28 15:02:06]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/options.py", line 671, in get_field
 [BACKEND][2024-02-28 15:02:06]     raise FieldDoesNotExist(
 [BACKEND][2024-02-28 15:02:06] django.core.exceptions.FieldDoesNotExist: Table533Model_field_5069 has no field named 'None'
 [BACKEND][2024-02-28 15:02:06] 406|2024-02-28 15:02:06.713|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:02:06] 49.13.137.191:0 - "POST /api/database/rows/table/533/?user_field_names=true HTTP/1.1" 500

Structure is exactly same, I don’t understand why I have to face 500 internal server error for only 192 records moving using baserow api.

I deleted all rows from Country table in baserow, and retried to import using baserow api.
Airtable has 192 records in Country table so now 191 rows were moved and 1 row with 500 error.
Please help me, this is urgent and super super ULTRA CRITICAL problem for me.
Thanks.

 [BACKEND][2024-02-28 15:52:06] 49.13.137.191:0 - "POST /api/database/rows/table/533/?user_field_names=true HTTP/1.1" 200
 [BACKEND][2024-02-28 15:52:06] 405|2024-02-28 15:52:06.077|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:52:06] 406|2024-02-28 15:52:06.079|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:52:06] 406|2024-02-28 15:52:06.083|INFO|baserow.core.action.signals:log_action_receiver:28 - do: workspace=96 action_type=create_row user=2
 [BACKEND][2024-02-28 15:52:06] ERROR 2024-02-28 15:52:06,090 django.request.log_response:241- Internal Server Error: /api/database/rows/table/533/
 [BACKEND][2024-02-28 15:52:06] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:52:06]   File "/baserow/venv/lib/python3.9/site-packages/django/db/models/options.py", line 669, in get_field
 [BACKEND][2024-02-28 15:52:06]     return self.fields_map[field_name]
 [BACKEND][2024-02-28 15:52:06] KeyError: None
 [BACKEND][2024-02-28 15:52:06]
 [BACKEND][2024-02-28 15:52:06] During handling of the above exception, another exception occurred:
 [BACKEND][2024-02-28 15:52:06]
 [BACKEND][2024-02-28 15:52:06] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:52:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 15:52:06]     raise exc_info[1]
 [BACKEND][2024-02-28 15:52:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 15:52:06]     response = await get_response(request)
 [BACKEND][2024-02-28 15:52:06]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 15:52:06]     response = await wrapped_callback(
 [BACKEND][2024-02-28 15:52:06]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 15:52:06]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 15:52:06]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 15:52:06]     return await fut

I used fields name like Name, Code etc… in baserow api.

Well, do I have to use different name such as field_4889 etc??

[BACKEND][2024-02-28 15:59:03] During handling of the above exception, another exception occurred:
 [BACKEND][2024-02-28 15:59:03]
 [BACKEND][2024-02-28 15:59:03] Traceback (most recent call last):
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread_handler
 [BACKEND][2024-02-28 15:59:03]     raise exc_info[1]
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 43, in inner
 [BACKEND][2024-02-28 15:59:03]     response = await get_response(request)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
 [BACKEND][2024-02-28 15:59:03]     response = await wrapped_callback(
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 448, in __call__
 [BACKEND][2024-02-28 15:59:03]     ret = await asyncio.wait_for(future, timeout=None)
 [BACKEND][2024-02-28 15:59:03]   File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
 [BACKEND][2024-02-28 15:59:03]     return await fut
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/current_thread_executor.py", line 22, in run
 [BACKEND][2024-02-28 15:59:03]     result = self.fn(*self.args, **self.kwargs)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 490, in thread_handler
 [BACKEND][2024-02-28 15:59:03]     return func(*args, **kwargs)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view
 [BACKEND][2024-02-28 15:59:03]     return view_func(*args, **kwargs)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/django/views/generic/base.py", line 103, in view
 [BACKEND][2024-02-28 15:59:03]     return self.dispatch(request, *args, **kwargs)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
 [BACKEND][2024-02-28 15:59:03]     response = self.handle_exception(exc)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
 [BACKEND][2024-02-28 15:59:03]     self.raise_uncaught_exception(exc)
 [BACKEND][2024-02-28 15:59:03]   File "/baserow/venv/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
 [BACKEND][2024-02-28 15:59:03]     raise exc

Hello @bram
Please see this post.
This guy is saying
" When field “w_4” is in a form, and referenced by “w4”, and that form is submitted, I get the error.
If I remove the reference to “w_4” from “w4”, I can submit the form without error."

Do I have to remove underline from link or lookup field name?
This is non-sense.

Hello @bram
I realized, Linked or Lookup field is critical problem.
This is Country table, it has Clients Link field. Clients table is available with no rows.
I tested 3 times with Clients Link field and without it.
Before removing Clients field, I keep getting 500 internal error randomly. Sometimes 189 records imported, 170 or etc…
But after removing Clients field, all records were imported successfully from airtable without any errors.
Please help me how to resolve this problem. I MUST use Link and Lookup fields.
Thanks.

Hello @bram

I am crazy with Link and Lookup fields, so I decied to share all my credentials with you in private.
My Laravel script to move data from airtable to baserow, and server credential that baserow app installed.

Please let me know your thoughts,
Thanks.

Hi @Long, thanks for sharing the output logs, this is useful for us.

I just wanted to let you know that we’re looking into the problem. Because you’re getting random field errors, I suspect this might be related to a bug we identified recently. It’s fixed, but not yet released. The code changes can be found here: Don't clear Django global apps cache (!2105) · Merge requests · Baserow / baserow · GitLab. If that’s the case, then you would need to wait for the release of next week to fix it.

Does your queue make multiple API requests concurrently? It would also be great if you can share how many API requests you were making. A number of estimated API requests per second would be useful to know.

Would you be able to try to use our hosted version at https://baserow.io, and see if the same problem occurs there as well?


CPU: 8 core
RAM: 15.2G

That should definitely be enough resources.

I am feeling this is public thread, so I am afraid to share my server credential here, right?

No need to share your actual credentials. This is already enough information for me on that front.

This guy is saying
" When field “w_4” is in a form, and referenced by “w4”, and that form is submitted, I get the error.
If I remove the reference to “w_4” from “w4”, I can submit the form without error."

Good catch on finding the error above. However, this specific problem was already fixed a while ago.

Does your queue make multiple API requests concurrently? It would also be great if you can share how many API requests you were making. A number of estimated API requests per second would be useful to know.

I tested with 10861 records from airtable, so sometimes, 12, 20, or 1860 requests at the same time after running the import script.
Is this problem?

If baserow app can’t handle 1000+ requests importing concurrently, how can I import tens of records from airtable?
But what I know is , that the most critical problem is that Link and Lookup field has a critical problem.
Even if I try to create a new row one by one without using job queue, I got 500 internal server error randomly.
It doesn’t make a lot of requests concurrently. It makes 1 - 5 requests per second or less.
So, I can say the most critical problem is that Link and Lookup field has a critical problem.

Please help me, thanks. :handshake::handshake:

Hi @Long, concurrent requests are being made at the same time, so not sequential. If you’re making 1 to 5 requests per second, then that should definitely not be a problem. One final question. If you get a 500-internal error, and you retry the same request, do you keep getting a 500 error for that request, or does it eventually work?