Skip to content
Back

Bug Report CLI

  • 0
  • Tools
  • Databases
  • Web
  • Cloud
Quirky Devil
25 Jan, 2026, 13:25

So I wanted to generate types for the project using "appwrite types types".

Expected outcome- generate ts type with the types. Got outcome-

appwrite types types ℹ Info: Detected language: ts ℹ Info: Directory: types does not exist, creating... ℹ Info: Found 10 tables: blog category, blog, learningHubTypes, learningHubs, collaborations, calendar_events, collaboration_requests, partners_logo, partners_value_props, partnership_steps ℹ Info: Found 81 columns across all tables ℹ Info: For detailed error pass the --verbose or --report flag ✗ Error: ejs:24 22| <% const propertyName = strict ? toCamelCase(attribute.key) : attribute.key; -%> 23| <% const isValidIdentifier = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(propertyName); -%>

24| <% if (isValidIdentifier) { %><%- propertyName %><% } else { %>"<%- propertyName %>"<% } %>: <%- getType(attribute, collections, collection.name) %>; 25| <% } -%> 26| }<% if (index < collections.length - 1) { %> 27| <% } %>

Related collection with ID 'undefined' not found.

TL;DR
Developers reported a bug on generating types with "appwrite types types" command that leads to an error related to a collection with an undefined ID. The bug is still unresolved.
Quirky Devil
25 Jan, 2026, 13:26

https://github.com/appwrite/appwrite/issues/10597

This is related issue I found on github, still open and isnt resolved

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more