Is there a way to wait for a contact property to be present after submitting a form via API?

Hello,

Currently our app sends a POST to the form API (api.hsforms.com/submissions/v3/integration/submit) when a user creates an account. After this, we need to fetch a specific contact’s property using the contact API (api.hubapi.com/contacts/v1/contact/email); however, the properties are not ready right after the form is sent, it takes a few seconds (5s-10s) for them to appear.

Is there a way to wait for these properties to be ready or do we have to implement this wait manually on our server?

Thank you for your time

regards

@CArribas ,

Don’t know of another way than to account for it on your end. @stefen , any thoughts?

@dennisedson @CArribas not that I know of. I would just implement a “retry” script so it the endpoint returns a not found status it would try again after 2 seconds up to 3 times or something like that.

@dennisedson @stefen
thanks for the replies. in the end we have implemented wait-and-retry solution on our end and this works well enough
thanks