Hey I am in urgent need of help. I am using the hosted version of appwrite and I tried to create a relationship attribute. This time however it looks like it has been stuck in processing for over an hour.
I can call the getAttribute endpoint which returns
{
"key": "reports",
"type": "relationship",
"status": "processing",
"error": "",
"required": false,
"array": false,
"relatedCollection": "reports",
"relationType": "manyToOne",
"twoWay": true,
"twoWayKey": "customer",
"onDelete": "setNull",
"side": "child"
}
However I can not delete this attribute, since it is not available.
Unfortunately with this state I can not access the customers collection. Which makes all calls to this collection crash...
Can anybody help me with this who has access to the database of appwrite? Or how does it work?
Something probably failed while creating the attribute. How did you create the attribute?
via the ui
@Steven
The error still persists. I can give you the project id if you want to take a look at it. it's "isar-maintenance"
When?
Get attribute returns this. What about list collections? Or is there a list attributes call?
I have created it around 18 hours from now
List collections works, but since the collections work together I can not access the data
The json snippet that I have provided at the beginning was from listAttributes. Fortunately it didn't fail. It is still in processing
What do you mean?
Sorry, let me rephrase it.
Get attribute returned following: { "key": "reports", "type": "relationship", "status": "processing", "error": "", "required": false, "array": false, "relatedCollection": "reports", "relationType": "manyToOne", "twoWay": true, "twoWayKey": "customer", "onDelete": "setNull", "side": "child" }
Note the status:processing
After I have created a two way relationship via the UI (around 18 hours ago)
The collection reportsdoes not show the field that correlates with this two way relationship on customers
Recommended threads
- Project paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...
- Help
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...