Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/purple-eels-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@clerk/upgrade": patch
"@clerk/nextjs": patch
---

Updates broken Clerk documentation references
2 changes: 1 addition & 1 deletion packages/nextjs/src/server/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ To resolve this issue, make sure your system's clock is set to the correct time

${verifyMessage}`;

export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/nextjs/middleware. (code=auth_signature_invalid)`;
export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware. (code=auth_signature_invalid)`;

export const encryptionKeyInvalid = `Clerk: Unable to decrypt request data, this usually means the encryption key is invalid. Ensure the encryption key is properly set. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys. (code=encryption_key_invalid)`;
4 changes: 2 additions & 2 deletions packages/upgrade/src/components/SDKWorkflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ export function SDKWorkflow(props) {
<Newline />
<Text>
You can find more information about this change in the Clerk documentation at{' '}
<Link url='https://clerk.com/docs/nextjs/rendering-modes'>
https://clerk.com/docs/nextjs/rendering-modes
<Link url='https://clerk.com/docs/references/nextjs/rendering-modes'>
https://clerk.com/docs/references/nextjs/rendering-modes
</Link>
.
</Text>
Expand Down