Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Retrieve Office Attribute from Personio API via DLT Pipeline #595

Open
Yuchangz opened this issue Jan 23, 2025 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@Yuchangz
Copy link
Contributor

dlt version

dlt==0.4.12

Describe the problem

The GET /employees endpoint in the Personio API provides the office attribute. However, the DLT pipeline appears unable to fetch this attribute from the endpoint. Could you please assist in resolving this issue? Thank you!

Expected behavior

No response

Steps to reproduce

when you request

import requests

url = "https://api.personio.de/v1/company/employees"

headers = {
    "accept": "application/json",
    "authorization": "BearerXXX"
}

response = requests.get(url, headers=headers)

print(response.text)

the office attribute exists in the response, but when you use dlt pipeline, it does not contain the office attribute.

Operating system

macOS

Runtime environment

Google Cloud Composer

Python version

3.11

dlt data source

from personio import personio_source

dlt destination

No response

Other deployment details

No response

Additional information

No response

@rudolfix
Copy link
Contributor

@Yuchangz I'm moving this to verified sources repo

@rudolfix rudolfix transferred this issue from dlt-hub/dlt Jan 27, 2025
@anuunchin anuunchin moved this from Todo to In Progress in dlt core library Feb 3, 2025
@rudolfix rudolfix added the question Further information is requested label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Planned
Status: In Progress
Development

No branches or pull requests

3 participants