Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • D Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Documentation
  • Issues
  • #76
Closed
Open
Issue created Feb 21, 2021 by Debasis Chatterjee@debasiscOwner

R3 Search Service - typo error for message when resource does not exist

See this message -

POST {{base_url}}/api/search/v2/query

Body

{
   "kind": "opendes:wks:master-data--wellbore:1.0.0",
   "query": "*"
}

Response -

{
    "code": 404,
    "reason": "Not Found",
    "message": "Resource you are trying to find does not exists"
}

Also note that the error message is the same when user mistypes entity name (ex: Wellbore1 instead of Wellbore) and when entity is empty i.e. no data loaded yet.

I have earlier verified using Schema service that this entity exists -

        {
            "schemaIdentity": {
                "authority": "opendes",
                "source": "wks",
                "entityType": "master-data--Wellbore",
                "schemaVersionMajor": 1,
                "schemaVersionMinor": 0,
                "schemaVersionPatch": 0,
                "id": "opendes:wks:master-data--Wellbore:1.0.0"
            },
            "createdBy": "e09bb2a5-337f-48a7-8f11-13f939b8a6ee",
            "dateCreated": "2021-02-18T03:53:57.738+00:00",
            "status": "DEVELOPMENT",
            "scope": "SHARED"
        },
Edited Feb 21, 2021 by Debasis Chatterjee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking