ErrorsBuilt-in services · rule
data.file_field_invalid
A File field's store, size or types are missing or wrong.
Area 16, Built-in services; not declinable; the next step is usually the agent's.
A File field says where its bytes are kept, store: naming a
connection that provides files, and how many it holds, max_size:;
types:, when given, lists FileType's variants. A field whose
store: names the database is refused:
/// A supplier's price sheet, kept as it was sent.entity PriceSheet { id: Uuid sheet: File { store: main max_size: 5mb } policy: { create: [Access.public] read: [Access.public] }}
error PriceSheet.sheet's store: isn't a store of files
--> domains/bakery/entities/price_sheet.jadpo:5:16
|5 | store: main | ^^^^ not a `files` connection
- reason
- A
Filefield'sstore:names a connection that providesfiles;mainis a connection that keeps no files, andapp.jadpodeclaressheets. - next
- Write
store: sheets(agent) - rule
- data.
file_ field_ invalid - help
- https://jadpo.
dev/docs/errors/data. file_ field_ invalid
Markdown for agents: /docs/errors/data.file_field_invalid.md.Built from Jadpo main at aee2e8f.