Skip to content

Implement tailored Error Message for users #1236

@OlegMoshkovich

Description

@OlegMoshkovich

Currently, when a user encounters an error while loading a model, they receive the same generic error message.
This does not help users identify the specific cause of the error or help them to resolve it.
We need to implement tailored error messages that address the specific reasons for the failure.
Possible causes of error:

  • Private model access issues.
  • GitHub API rate limits.
  • Problem with the model path
  • Unknown reasons requiring a model reload.

Tailored error Messages:

  1. Could not load the model
    Try accessing the model again

  2. If you are not logged in and trying to access a file hosted on GitHub, you are subject to GitHub REST API rate limits

  • Log into Share using a Github credentials
  • Access the file again
  • Check console for errors
  1. Check the file path, it might contain inconsistencies that prevent the model load
    https:/​/​github.com/​bldrs-​ai/​test-​models/​blob/​main/​ifc/​bldrs/​b.ifc

  2. We do not support the file type

  3. Check the console for errors and let us know on Discord or GitHub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions