Skip to content

Unable to obtain credentials: Empty optional #683

@BojanOD

Description

@BojanOD

Request Details

Endpoint:

{{edc_base_url}}/management/v3/catalog/request

Headers:

{
  "Content-Type": "application/json",
  "X-Api-Key": "{{x_api_key}}"
}

Request Body:

{
  "@context": {
    "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
  },
  "@type": "CatalogRequest",
  "counterPartyAddress": "{{edc_base_url}}/v1/dsp",
  "counterPartyId": "{{edc_provider_bpn}}",
  "protocol": "dataspace-protocol-http",
  "querySpec": {
    "offset": 0,
    "limit": 100
  }
}

Response
Status: 502 Bad Gateway
Body:

[
  {
    "message": "Unable to obtain credentials: Empty optional",
    "type": "BadGateway",
    "path": null,
    "invalidValue": null
  }
]

Expected Behavior

Getting a 502 Bad Gateway error with "Unable to obtain credentials: Empty optional" message. I'm not sure what I'm missing in order to have a successful fetch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions