Phantom Data? Error: 1:N Relationship Error: Record already linked to another. #14652
Unanswered
stellarfinn
asked this question in
Help
Replies: 1 comment 2 replies
-
The error implies that you have configured a One-to-Many relationship, but you are trying to create a record that would violate this relationship. So you may be trying to create a record on the many side, that is linked to the one side, but that particular record has already been linked to another record. It may help if you shared how your relationships are configured in Budibase, and what test data you are using when doing your manual run. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two databases. A Cost of Goods (COGs) database and a Products database. Once we're happy that a product will meet our margins, I push the product data from the COGs database to the Products database (create a new row). This has been working fine until a couple of products didn't get pushed to the Products database. I got this error when testing my automation manually with the data from the specific products that are failing.
The products in question had previously existed in the Products database, so is there some kind of phantom data that its comparing to and making this conclusion? I have other products that the automation works fine and get created in the Products database.
{
"success": false,
"response": "Error: 1:N Relationship Error: Record already linked to another."
}
Beta Was this translation helpful? Give feedback.
All reactions