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

[SOLVE] Invalid String Length #981

Closed
thoberth opened this issue Jul 16, 2022 · 3 comments
Closed

[SOLVE] Invalid String Length #981

thoberth opened this issue Jul 16, 2022 · 3 comments

Comments

@thoberth
Copy link

thoberth commented Jul 16, 2022

  1. Prisma version (prisma -v or npx prisma -v):
prisma                  : 4.1.0-dev.74
@prisma/client          : 4.0.0
Current platform        : darwin
  1. Logs from Developer Tools Console or Command line, if any:
Invalid string length
RangeError: Invalid string length
    at JSON.stringify (<anonymous>)
    at _t.serialize (http://localhost:5555/assets/index.js:1:49091)
    at _t.update (http://localhost:5555/assets/index.js:1:12197)
    at Cc (http://localhost:5555/assets/vendor.js:50:6994)
    at _t.n (http://localhost:5555/assets/vendor.js:50:6688)
    at _t.update (http://localhost:5555/assets/index.js:1:48948)
    at Cc (http://localhost:5555/assets/vendor.js:50:6994)
    at _t.n (http://localhost:5555/assets/vendor.js:50:6688)
    at http://localhost:5555/assets/index.js:1:82272
    at Array.forEach (<anonymous>)

Capture d’écran 2022-07-16 à 11 11 38

  1. Does the issue persist even after updating to the latest prisma CLI dev version? (npm i -D prisma@dev)

  2. Prisma schema (if relevant):


@janpio
Copy link
Contributor

janpio commented Jul 16, 2022

Here is how to solve this: #895 (comment)

Can you share what exactly you did before you got into this situation though?
Did you open new tabs, add filters, try to save changes?

@thoberth thoberth changed the title Invalid String Length [SOLVE] Invalid String Length Jul 16, 2022
@thoberth
Copy link
Author

thoberth commented Jul 16, 2022 via email

@petradonka
Copy link
Contributor

Thanks for the extra info!

I see that you've updated the title to indicate that your issue is solved, so I'll close this one now. Let us know if your run into any further issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants