question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Model "undefined", field: ...`

See original GitHub issue

via https://github.com/prisma/introspection-ci/commit/99f4b38a6f71f338016542c1abab2d4ca8f1f695#diff-38cb981f24e06bd8113895198bd48cd111a1be0a5bb46bf21ed671d4d929e40c

Some JS problem probably, undefined:

// These fields are not supported by the Prisma Client, because Prisma currently does not support their types.
// - Model "undefined", field: "attribution", original data type: "Unknown"
// - Model "undefined", field: "stoned_acquirer", original data type: "Unknown"
// - Model "undefined", field: "stoned_value", original data type: "Unknown"
// - Model "undefined", field: "stoned_value_type", original data type: "Unknown"
// - Model "undefined", field: "link_3_name", original data type: "Unknown"
// - Model "undefined", field: "link_3_url", original data type: "Unknown"
// - Model "undefined", field: "attribution", original data type: "Unknown"

in introspection-analysis/output/mongodb_public/sample_training_stderr.log

Should be for example:

// - Type "CompaniesImage ", field: "attribution", original data type: "Unknown"

Seems to be a side effect of original data type: "Unknown".

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pimeyscommented, Feb 15, 2022

Nah it’s my fault. Just found the problem, will deploy a fix with a different issue (also sending warnings).

0reactions
janpiocommented, Feb 16, 2022

Problem also has been avoided by not having Unknown any more, but render these as Json.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XGBoost Model refers to undefined field "fieldname".
Building an XGBoost model nugget having for example 7 fields including a Target field "fieldname" selected in the Var File source node.
Read more >
undefined field on mongoose Schema - node.js
Debugging I saw that user object is not the schem class, what is worng with tuis class? node.js · mongoose · bcrypt.
Read more >
undefined - JavaScript - MDN Web Docs - Mozilla
The global undefined property represents the primitive value undefined. It is one of JavaScript's primitive types.
Read more >
Getting error kendoGrid.dataSource.options.schema.model ...
model.fields being undefined. This is in the .cshtml file defining the grid. <div id="deploymentsGrid" class="collapsible">
Read more >
How to Deal with Optional Things and "Undefined" in TypeScript
What's undefined? · An uninitialized or absent property of an object · A potentially-omitted optional argument to a function · A return value...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found