Skip to content

Normalization not working on "HTTP Request" connector #2459

Closed
@meenagangadharan

Description

@meenagangadharan

Expected Behavior

I am loading data from a private REST API to Bigquery. Normalization is enabled. Using the latest version 0.17.1-alpha.
Job completes successfully. The JSON data extracted from the API is expected to be split and loaded into multiple records of the Bigquery table

Current Behavior

The output JSON are loaded as a single record in the data field of Bigquery table.

Logs

catalog.json shows the below content -

docker run -it --rm --volume airbyte_workspace:/data busybox cat /data/7/0/destination_catalog.json
{"streams":[{"stream":{"name":"/usersdata","json_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"data":{"type":"object"}},"additionalProperties":true},"supported_sync_modes":["full_refresh"],"default_cursor_field":[]},"sync_mode":"full_refresh","cursor_field":[]}]}

Steps to Reproduce

  1. Using a private API with Bearer token. Unfortunately cannot share the API. The JSON format looks like below.
    {
    "data": [
    {
    "id": 4971,
    "email": "[email protected]",
    "first_name": "Meena",
    },
    ],
    "links": {
    "first": "#####################",
    "last": "#####################",
    "prev": null,
    "next": "#####################"
    },
    "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 126,
    "links": [
    {
    "url": null,
    "label": "« Previous",
    "active": false
    },
    {
    "url": "#####################",
    "label": "1",
    "active": true
    },
    {
    "url": "https:#####################",
    "label": "2",
    "active": false
    }
    ],
    "path": "https:#####################,
    "per_page": 50,
    "to": 50,
    "total": 6270
    }
    }

Severity of the bug for you

High

Airbyte Version

Found in the .env file in the root of the project- 0.17.1-alpha

Connector Version (if applicable)

HTTP Request - 0.2.1

Additional context

Airbyte is installed on GCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions