Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Can't add a relationship to the existing document from Cloud Console #8070

Open
2 tasks done
KazakovKirill opened this issue May 3, 2024 · 3 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / cloud Issues found only on Appwrite Cloud product / databases Fixes and upgrades for the Appwrite Database.

Comments

@KazakovKirill
Copy link

KazakovKirill commented May 3, 2024

👟 Reproduction steps

Add relationship to the existing document from the cloud appwrite console.

Screenshot 2024-05-03 191239

👍 Expected behavior

Relationship added.

👎 Actual Behavior

Relationship not added.

Payload:

{
    "data": {
        "name": "Angelina",
        "$permissions": [],
        "rooms": [
            "77f242ca-1034-4455-9454-2b2d98b11971"
        ]
    },
    "permissions": []
}

Response:

{
    "message": "Invalid relationship value. Must be either an array of documents or document IDs, NULL given.",
    "code": 400,
    "type": "relationship_value_invalid",
    "version": "0.13.14"
}

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

Appwrite Console

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@KazakovKirill KazakovKirill added the bug Something isn't working label May 3, 2024
@KazakovKirill KazakovKirill changed the title 🐛 Bug Report: Can't add a relationship to the existing document 🐛 Bug Report: Can't add a relationship to the existing document from Cloud Console May 3, 2024
@stnguyen90 stnguyen90 added product / databases Fixes and upgrades for the Appwrite Database. product / cloud Issues found only on Appwrite Cloud feature / relationships Fixes and upgrades for database relationships labels May 6, 2024
@stnguyen90 stnguyen90 self-assigned this May 6, 2024
@Tanu1201
Copy link

Hey, I am Tanu sharma having 2+year of exp in SDE field can I take this issue?

@KazakovKirill
Copy link
Author

KazakovKirill commented May 14, 2024 via email

@Tanu1201
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / cloud Issues found only on Appwrite Cloud product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

3 participants