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

Source: Mixpanel - requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://mixpanel.com/api/2.0/engage/properties?project_id=... (via Sentry) #25954

Closed
lazebnyi opened this issue May 10, 2023 · 1 comment · Fixed by #30090

Comments

@lazebnyi
Copy link
Collaborator

Topic

Config error for GA connector

Revelant information

Original issue - https://github.com/airbytehq/oncall/issues/1839

Affected Workspace Details:

Environment Affected Workspaces Connection Link Case/Chat Link Sentiment User Data Access Reporter
cloud a@miti.ai workspace N/A 👍 🆗 👎 😠 Y/N (did you ask?!?!) Automated from Sentry
cloud m.vasilev@immigram.io workspace N/A 👍 🆗 👎 😠 Y/N (did you ask?!?!) Automated from Sentry
cloud istvan.meszaros.88@gmail.com workspace N/A 👍 🆗 👎 😠 Y/N (did you ask?!?!) Automated from Sentry

Blast Radius

Please fill in: Could this issue be impacting other users? if so, how many?

Can this issue be fixed by reverting to a previous commit or connector version?

Human: please fill this in.

Steps to reproduce

When running: discover

More details in Sentry issue
First seen: 2023-02-06T12:50:24.541000Z

Current Behavior

Describe what is the problem user is having.

Logs

/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/streams/http/http.py
Function: _send
Type: requests.exceptions.HTTPError

400 Client Error: Bad Request for url: https://mixpanel.com/api/2.0/engage/properties?project_id=2961067

On Call Summary

Date Start Status Next Step End Status
2023-04-13 New Issue ... Waiting

This issue was created by the Sentry automation workflow.

@davydov-d
Copy link
Collaborator

This does not look like a config error to me, rather expired credentials that are not handled properly. https://developer.mixpanel.com/reference/service-accounts#service-account-expiration
In this case, API returns error 400 which is exactly what was caught by Sentry. I'll prepare a PR to fix it

davydov-d added a commit that referenced this issue Sep 6, 2023
…thub.com:airbytehq/airbyte into ddavydov/#25954-source-mixpanel-handle-400-error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants