Handling Asset Processing Timeout -- Linking Asset to Entry post-processing/creation

Hello.

I am currently building an application with Contentful that requires a main image for the entry. I am uploading the image/asset as a part of the flow for creating the new entry.

Sometimes when testing I will get a “Processing taking longer than expected” response. I am not sure how to handle this because obviously the asset hasn’t actually gotten created yet and now I don’t have a way to link the asset post-processing/creation with the entry it was intended for.

I am using the Javascript SDK in tandem with React.

Any help would be appreciated on how best to approach this issue!

1 Like

Did you end up finding a solution?