Skip to content

Conversation

matige
Copy link

@matige matige commented Aug 23, 2025

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

For version v5, the default error declaration is missing. In this case, err.data is returned as an error. If you use a client with useAsyncData and an exception occurs in fetch, a 500 error will be returned with the message: “Cannot read properties of undefined (reading 'message')”.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

Copy link

vercel bot commented Aug 23, 2025

@matige is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

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 this pull request may close these issues.

1 participant