SoberOriginal post
Rank 1: Thread
JavaScript
console.log(typeof interaction.user.id)console.log(interaction.user.id)
const user_check = await TablesDB.listRows({ databaseId: "db", tableId: "users", queries: [Query.equal('minecraft_uuid', [mc_uuid]), Query.equal('discord_id', interaction.user.id), Query.limit(1)] })string
1106290613432889497
Command error: AppwriteException: Invalid query: Query value is invalid for attribute "discord_id"```
I have tried using \`_${interaction.user.id}` (to FORCE it as a string just incase the SDK converts it to a string in the function, as well as using an array as the documentation provides but no luck)
Summary
Error message: AppwriteException stating that the query value for the "discord_id" attribute is invalid. Developer tried converting the value to a string and using an array but did not work.