Penpot had broken my files

Few minutes ago I accepted the last release. When I tried to enter on some files, they send me a error. This is the report log:

Hint:    Expected ',' or ']' after array element in JSON at position 3405833 (line 1 column 3405834)
Prof ID: c58b4a99-d445-8007-8006-66063ca52a56
Team ID: --

Data:
{:hint "Expected ',' or ']' after array element in JSON at position 3405833 (line 1 column 3405834)"}

Trace:
SyntaxError: Expected ',' or ']' after array element in JSON at position 3405833 (line 1 column 3405834)
  at JSON.parse (<anonymous>)
  at lSa.read (https://design.penpot.app/js/shared.44bc4b7fa-1754046250.js:3884:473)
  at PENPOT.ex.a_ (https://design.penpot.app/js/shared.44bc4b7fa-1754046250.js:3905:400)
  at PENPOT.ex.b_ (https://design.penpot.app/js/shared.44bc4b7fa-1754046250.js:3905:257)
  at lVa (https://design.penpot.app/js/shared.44bc4b7fa-1754046250.js:1283:469)
  at https://design.penpot.app/js/shared.44bc4b7fa-1754046250.js:1254:77
  at e.next [as _nextOverride] (https://design.penpot.app/js/libs.js?ts=1754046776119:757:13990)
  at e.htr [as _next] (https://design.penpot.app/js/libs.js?ts=1754046776119:757:1873)
  at e.next (https://design.penpot.app/js/libs.js?ts=1754046776119:757:1370)
  at e.next [as _nextOverride] (https://design.penpot.app/js/libs.js?ts=1754046776119:757:13985)
  at e.htr [as _next] (https://design.penpot.app/js/libs.js?ts=1754046776119:757:1873)
  at e.next (https://design.penpot.app/js/libs.js?ts=1754046776119:757:1370)
  at https://design.penpot.app/js/libs.js?ts=1754046776119:757:4469

Last events:
[":app.main.router/navigated"
 ":app.main.data.team/fetch-teams"
 ":app.main.data.team/initialize-team"
 ":app.main.data.comments/retrieve-unread-comment-threads"
 ":app.main.data.dashboard/fetch-recent-files"
 ":app.main.data.dashboard/clear-file-select"
 ":app.main.data.shortcuts/push-shortcuts"
 ":app.main.data.dashboard/fetch-projects"
 ":app.main.data.fonts/fetch-fonts"
 ":app.main.data.dashboard/initialize"
 ":app.main.data.dashboard/recent-files-fetched"
 ":app.main.data.dashboard/projects-fetched"
 ":app.main.data.team/teams-fetched"
 ":app.main.features/initialize"
 ":app.main.data.team/fetch-members"
 ":app.main.data.team/team-initialized"
 ":app.main.data.fonts/fonts-loaded"
 ":app.main.data.comments/comment-threads-fetched"
 ":app.main.data.team/members-fetched"
 ":app.main.data.dashboard/clear-file-select"
 ":app.main.data.dashboard/toggle-file-select"
 ":app.main.data.dashboard/clear-file-select"
 ":app.main.router/navigate"
 ":app.main.data.common/go-to-workspace"
 ":app.main.data.event/event"
 ":app.main.router/navigated"
 ":app.main.data.shortcuts/pop-shortcuts"
 ":app.main.data.dashboard/finalize"
 ":app.main.data.persistence/initialize-persistence"
 ":app.main.data.plugins/update-plugins-permissions-peek"
 ":app.main.data.workspace.layout/ensure-layout"
 ":app.main.data.workspace/initialize-layout"
 ":app.main.data.notifications/hide"
 ":app.main.data.comments/retrieve-comment-threads"
 ":app.main.data.comments/fetch-profiles"
 ":app.main.data.fonts/fetch-fonts"
 ":app.main.data.workspace/initialize-workspace"
 ":app.main.data.fonts/fonts-loaded"
 ":app.main.data.workspace/fetch-bundle"
 ":app.main.data.team/finalize-team"
 ":app.main.data.persistence/persistence-notification"
 ":app.main.data.workspace.common/set-workspace-visited"
 ":app.main.data.persistence/persistence-notification"
 ":app.main.data.workspace.notifications/finalize"
 ":app.main.data.project/finalize-project"
 ":app.main.data.workspace.shape-layout/finalize-shape-layout"
 ":app.main.data.workspace.colors/stop-picker"
 ":app.main.data.workspace.common/set-workspace-visited"
 ":app.main.data.modal/hide-modal"
 ":app.main.data.notifications/hide"
 ":app.main.data.workspace/finalize-workspace"]

I’m refreshing the page and the space, but the error remains. I need my files. Any solution or answer? Is there anyone with the same error currently?

Hello, i’m also having trouble entering my files.

I just found a solution, it’s weird but it’s working. It seems that the problem is at DRAFTS.

This is what i did:

  • i created a copy of the original draft.

  • i created a new project.

  • i moved the file to the new project and it opened.

Right now, i’m exporting the document as pdf just to have a backup.

1 Like

Another solution, i moved the original file to the new project and it failed.

Just to check, i change the name of the file and it opened.

Hope it also works for you

1 Like

Hey, we are working on solving this issue. Thanks for the reporting.

1 Like

I could solve the problem yesterday.

I could open my files a few minutes sometimes, so I copied and pasted all my design features to a new file. Now I’m able to work at my new files, but I can’t still open previous ones.

Thanks for your support, friends! :grin: