-
Notifications
You must be signed in to change notification settings - Fork 13
added troubeshooting page, fixed 404 page layout issue and updated fa… #99
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| import Link from 'next/link'; | ||
|
|
||
| export default function NotFound() { | ||
| return ( | ||
| <div | ||
| className="fixed inset-0 flex flex-col items-center justify-center" | ||
| style={{ zIndex: 9999, backgroundColor: '#f5f5f5' }} | ||
| > | ||
| <div className="dark:hidden absolute inset-0" style={{ backgroundColor: '#f5f5f5' }} /> | ||
| <div className="hidden dark:block absolute inset-0" style={{ backgroundColor: '#0a0a0a' }} /> | ||
| <div className="relative flex flex-col items-center"> | ||
| <h1 className="text-8xl font-bold text-neutral-900 dark:text-neutral-100">404</h1> | ||
| <p className="mt-4 text-xl text-neutral-600 dark:text-neutral-400 text-center"> | ||
| This page could not be found. | ||
| </p> | ||
| <Link | ||
| href="/" | ||
| className="mt-8 px-6 py-3 rounded-md bg-neutral-900 dark:bg-neutral-100 text-white dark:text-neutral-900 hover:opacity-90 transition-opacity font-medium" | ||
| > | ||
| Go back home | ||
| </Link> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| import Link from 'next/link'; | ||
|
|
||
| export default function NotFound() { | ||
| return ( | ||
| <div | ||
| className="fixed inset-0 flex flex-col items-center justify-center" | ||
| style={{ zIndex: 9999, backgroundColor: '#f5f5f5' }} | ||
| > | ||
| <div className="dark:hidden absolute inset-0" style={{ backgroundColor: '#f5f5f5' }} /> | ||
| <div className="hidden dark:block absolute inset-0" style={{ backgroundColor: '#0a0a0a' }} /> | ||
| <div className="relative flex flex-col items-center"> | ||
| <h1 className="text-8xl font-bold text-neutral-900 dark:text-neutral-100">404</h1> | ||
| <p className="mt-4 text-xl text-neutral-600 dark:text-neutral-400 text-center"> | ||
| This page could not be found. | ||
| </p> | ||
| <Link | ||
| href="/" | ||
| className="mt-8 px-6 py-3 rounded-md bg-neutral-900 dark:bg-neutral-100 text-white dark:text-neutral-900 hover:opacity-90 transition-opacity font-medium" | ||
| > | ||
| Go back home | ||
| </Link> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| --- | ||
| title: Troubleshooting | ||
| description: Common issues, log events, and debugging information for Reclaim Protocol integrations | ||
| --- | ||
|
|
||
| ## Log Event Types | ||
|
|
||
| When integrating with Reclaim Protocol SDKs, you may encounter various log events. Understanding these events helps with debugging and monitoring your integration. | ||
|
|
||
|
|
||
| ### Verification Flow Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `VERIFICATION_FLOW_STARTED` | INFO | The verification flow has been initiated by the user. | | ||
| | `IS_RECLAIM_VERIFIER` | INFO | Checking if the current environment is a Reclaim verifier. | | ||
| | `IS_RECLAIM_INAPPSDK` | INFO | Checking if the current environment is a Reclaim inapp SDK. | | ||
| | `RECLAIM_VERIFICATION_DISMISSED` | INFO | The Reclaim verification process was dismissed by the user. | | ||
| | `RECLAIM_VERIFICATION_SKIPPED` | INFO | The Reclaim verification process was skipped. | | ||
|
|
||
| ### SDK Version Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `UPDATE_AVAILABLE` | WARNING | An update for inapp SDK is available. Use is still allowed. | | ||
| | `SDK_OUTDATED` | ERROR | An update for inapp SDK is available and the current version cannot be used anymore. | | ||
|
|
||
| ### Session Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `RECLAIM_INIT_SESSION_EXCEPTION` | ERROR | An exception when initializing a Reclaim session. | | ||
| | `RECLAIM_EXPIRED_SESSION_EXCEPTION` | ERROR | An exception for an expired Reclaim session. | | ||
|
|
||
| ### Page Loading Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `LOADING_INITIAL_URL` | INFO | Sending request to load initial url. | | ||
| | `WEB_PAGE_READY` | INFO | The first web page for verification is ready. | | ||
| | `PAGE_LOADING_STARTED` | INFO | Page loading started. | | ||
| | `PAGE_LOADING_STOPPED` | INFO | Page loading stopped. | | ||
|
|
||
| ### Request & Matching Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `REQUEST_INTERCEPTED` | INFO | A network request has been intercepted. | | ||
| | `REQUEST_MATCHED` | INFO | A network request has been matched against the provider's requirements. | | ||
| | `PROVIDER_SCRIPT_REQUESTED_CLAIM` | INFO | The provider script has requested a claim. | | ||
|
|
||
| ### Claim Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `PREPARING_CLAIM` | INFO | The claim is being prepared. | | ||
| | `VALIDATING_CLAIM_PARAMETERS` | INFO | The claim parameters are being validated. | | ||
| | `STARTING_CLAIM_CREATION` | INFO | The process of creating a claim is starting. | | ||
| | `CLAIM_CREATION_STARTED` | INFO | The claim creation process has officially started. | | ||
|
|
||
| ### Validation Errors | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `X_PATH_MATCH_REQUIREMENT_FAILED` | ERROR | An XPath match requirement for claim validation has failed. | | ||
| | `JSON_PATH_MATCH_REQUIREMENT_FAILED` | ERROR | A JSONPath match requirement for claim validation has failed. | | ||
| | `REGEX_MATCH_REQUIREMENT_FAILED` | ERROR | A regex match requirement for claim validation has failed. | | ||
| | `NO_PARAMETERS_FOUND` | ERROR | No parameters found. | | ||
| | `CLAIM_PARAMETER_VALIDATION_FAILED_EXCEPTION` | ERROR | An exception for failed claim parameter validation. | | ||
| | `NO_RESPONSE_MATCH_WARNING` | WARNING | A warning that no response matched the provider's requirements. | | ||
|
|
||
| ### Proof Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `PROOF_GENERATED` | INFO | A proof has been successfully generated. | | ||
| | `SUBMITTING_PROOF` | INFO | The generated proof is being submitted. | | ||
| | `PROOF_SUBMITTED` | INFO | The proof has been successfully submitted. | | ||
| | `PROOF_GENERATION_FAILED_EXCEPTION` | ERROR | An exception for a failed proof generation. | | ||
| | `PROOF_SUBMISSION_FAILED` | ERROR | The proof submission has failed. | | ||
|
|
||
| ### Exception Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `RECLAIM_VERIFICATION_PLATFORM_NOT_SUPPORTED_EXCEPTION` | ERROR | An exception indicating that the platform is not supported for Reclaim verification. For example, a 32-bit Android device. | | ||
| | `INVALID_REQUEST_RECLAIM_EXCEPTION` | ERROR | An exception for an invalid Reclaim request. | | ||
| | `RECLAIM_VERIFICATION_CANCELLED_EXCEPTION` | WARNING | An exception indicating the verification process was cancelled for the user. | | ||
| | `RECLAIM_VERIFICATION_PROVIDER_LOAD_EXCEPTION` | ERROR | An exception during the loading of a verification provider. | | ||
| | `RECLAIM_ATTESTOR_AUTH_EXCEPTION` | ERROR | An exception related to attestor authentication. | | ||
| | `RECLAIM_VERIFICATION_NO_ACTIVITY_DETECTED_EXCEPTION` | ERROR | An exception when no user activity is detected during verification. | | ||
| | `ATTESTOR_NOT_RESPONDING` | WARNING | The attestor is not responding. | | ||
| | `CLAIM_CREATION_CANCELLED_EXCEPTION` | ERROR | An exception indicating the claim creation was cancelled. | | ||
| | `CLAIM_CREATION_TIMED_OUT_EXCEPTION` | ERROR | An exception indicating that the claim creation process has timed out. | | ||
|
|
||
| ### Result Events | ||
|
|
||
| | Event Type | Level | Description | | ||
| |------------|-------|-------------| | ||
| | `RESULT_RECEIVED` | INFO | A result has been received. | | ||
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor copy edits for consistency.
Prefer “in-app SDK” and “URL” for standard casing.
✏️ Proposed doc copy fix
Also applies to: 39-40
🤖 Prompt for AI Agents