Skip to content

Connector Creation 409 Conflict Error for Connectors without SD document #1368

@SanaSalem01

Description

@SanaSalem01

Current Behavior

Currently, connector creation fails for those companies that does not have SD document, e.g: french companies (SD factory skipped).

POST: /api/administration/connectors

{
  "type": "[https://tools.ietf.org/html/rfc7231#section-6.5.8"](https://tools.ietf.org/html/rfc7231#section-6.5.8%22),
  "title": "The resorce is in conflict with the current request.",
  "status": 409,
  "errors": {
    "Org.Eclipse.TractusX.Portal.Backend.Administration.Service": [
      "provider company null has no self description document"
    ]
  },
  "errorId": "995672b3-d9c2-4b20-b222-845b86eb4efa",
  "details": [
    {
      "errorCode": "CONNECTOR_CONFLICT_NO_DESCRIPTION",
      "type": "AdministrationConnectorErrors",
      "message": "provider company {CompanyId} has no self description document",
      "parameters": [
        {
          "name": "companyId",
          "value": "83084e27-d9d5-4282-84b1-c9c2dcc9a358"
        }
      ]
    }
  ]
}
Image

Expected Behavior

Connector should be created successfully.

Steps To Reproduce

  • Login to french company on Catena INT
  • Navigate to connector management
  • Attempt to create OWN connector with Location Code: DE OR US
  • See the results (409 error)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

USER READY

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions