Skip to content

Adding/editing a photo sometimes crashes and fails to go back to the admin photos list #355

@ntadej

Description

@ntadej

Describe the bug
Adding/editing a photo sometimes crashes and fails to go back to the admin photos list. It is hard to reproduce and also happens on an instance that has been running for a while. No data loss seems to happen, just the page has to be manually refreshed.

Clicking Update again gives: "An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error." The error says key invalid.

NoSuchKey: The specified key does not exist.
    at async (.next/server/chunks/4525.js:1:4553) {
  '$fault': 'client',
  '$response': [HttpResponse],
  '$retryable': undefined,
  '$metadata': [Object],
  Code: 'NoSuchKey',
  digest: '1508362242'
}

Does your template use custom code?
No.

Steps to Reproduce

  1. Edit a photo
  2. Click on 'Update'
  3. In rare cases the page will not change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions