Skip to content

The endpoint /api/v1/lineage returns "403 Forbidden" response #3069

@pvij

Description

@pvij

Hello, I am trying to send an OpenLineage event to Marquez using the "Getting Started" guide here: https://openlineage.io/getting-started/.

When I try to send the following request to the endpoint /api/v1/lineage: -

curl -X POST http://localhost:5000/api/v1/lineage \
  -i -H 'Content-Type: application/json' \
  -d '{
        "eventType": "START",
        "eventTime": "2020-12-28T19:52:00.001+10:00",
        "run": {
          "runId": "0176a8c2-fe01-7439-87e6-56a1a1b4029f"
        },
        "job": {
          "namespace": "my-namespace",
          "name": "my-job"
        },
        "inputs": [{
          "namespace": "my-namespace",
          "name": "my-input"
        }],  
        "producer": "https://github.com/OpenLineage/OpenLineage/blob/v1-0-0/client",
        "schemaURL": "https://openlineage.io/spec/1-0-5/OpenLineage.json#/definitions/RunEvent"
      }'

I get the following error: -

HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/860.7.1
X-Apple-ProcessingTime: 1
X-Apple-RequestReceivedTimestamp: 661472885

Am I missing something here? As per README.md,

Note: By default, the HTTP API does not require any form of authentication or authorization.

Could anyone please help me out here?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions