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

On >3.41.0 dragging blocks in PTE gives "Can't upload this file here" error #6626

Closed
jorngeorg opened this issue May 11, 2024 · 4 comments · Fixed by #6867
Closed

On >3.41.0 dragging blocks in PTE gives "Can't upload this file here" error #6626

jorngeorg opened this issue May 11, 2024 · 4 comments · Fixed by #6867
Assignees

Comments

@jorngeorg
Copy link
Contributor

After upgrading to > 3.41.0 I get a "Can't upload this file here" error whenever dragging a block element in the PTE.
The error box doesn't go away. The only way to remove it is to reload the studio. See screen capture for behaviour:

Skjermopptak.2024-05-11.kl.15.29.49.mov
@doublejosh
Copy link

doublejosh commented May 22, 2024

Same in 3.42.0

Asked in Slack today... https://sanity-io-land.slack.com/archives/C9Z7RC3V1/p1716322030051909

@jorngeorg
Copy link
Contributor Author

jorngeorg commented May 28, 2024

Yes, same on all > 3.41.0 versions. We've downgraded all studios and will not upgrade until this as been addressed.

I'm also getting reports of the following warning appearing as a toast when moving blocks. Which might be relatable?

Could not validate the resulting portable text to insert. Editor value must be an array of Portable Text blocks, or undefined. Try to insert as plain text (shift-paste) instead.

As a sidenote, I'd suggest not showing such technical errors to the user as it doesn't really make any sense to editors and only create fear and concern for the product.

@jorngeorg
Copy link
Contributor Author

Let me know if you need more information to triage this issue. Happy to help out with any information if needed.

@sjelfull
Copy link
Member

This should be fixed in #6867 and was a part of the v3.46.0.

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

Successfully merging a pull request may close this issue.

3 participants