<#C021JANJ6TY|replication-troubleshooting> Source:...
# replication-troubleshooting
s
#replication-troubleshooting Source: Mixpanel (StartDate: 20-Feb-2023, EndDate: I left it blank ) Destination: Redshift I see the sync failed, but the records got inserted. Could someone please help? Attaching the error screenshot and log file too.
n
Hi, Sharath! I'm looking through the logs and see this, just like you mentioned:
Copy code
400 Client Error: Bad Request for url: https://data.mixpanel.com/api/2.0/export?from_date=2023-03-02&to_date=2023-03-02
Obviously that's the date for today, so it should be fine. I wonder if there's something weird going on with timezones on your instance/elsewhere being out of sync?
r
Is it something with the dates being the same for from_date and to_date 400 Bad Request - to_date cannot be later than today
Its able to parse the results, but fails on schema validation Schema validation errors found for stream _export. Error messages: [$ is of an in correct type.]
or it could be related to the size of the data being exported, if possible apply a filter on the events Flushing export: 8840 records (15 MB)
s
Start date : 2023-03-01, End date: BLANK What would be the workaround I can try out in this case?
r
both start_date and end_dates are inclusive, try between 2023-03-01 and -02
s
I can try that. But I want to sync to the latest date. If I give some end date now, daily I should manually change right?
r
First check to see if you are able to get around the 400 error, before working out a final solution
The 400 error could be because the exported File Size is Too Large, you need to rule out that option as well
s
Any idea what to do in this case? Please suggest
Surprising thing is data is being loaded, but the airbyte says sync failed
@Nataly Merezhuk (Airbyte) Please suggest me some workaround, I will try if it works. My EC2 instance is in US region. Attaching my connector details.
@Rajesh Koilpillai Any suggestions or help would be really helpful to me 🙂
n
I think @Rajesh Koilpillai had a great suggestion (thank you!) - try to see if you can get around the 400 error by trying dates between 2023-03-01 and -02.