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 reports
does not show the field that correlates with this two way relationship on customers
Recommended threads
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...