Hey there. This sounds like your configured webhook is taking too long to respond and Terra sends an auth_success
payload synchonously when connecting devices.
To be certain that this is the cause, you can try deactivating your webhook by going on Dashboard > Connections and pressing the toggle next to Webhook.
Also, you can check the Response Times
recorded from your webhook by navigating to Dashboard > Tools > Debug > Event Log and identifying an event with the Data Type set to auth_success
and pressing the arrow on the right; if the response time exceeds 2000ms, you should investigate sources of delay in your webhook implementation.