Skip to content

[INTEG-3768] fix: resolve asset references and upload images via OAuth fetch#10855

Merged
ryunsong-contentful merged 1 commit intomasterfrom
INTEG-3768-fix
Apr 9, 2026
Merged

[INTEG-3768] fix: resolve asset references and upload images via OAuth fetch#10855
ryunsong-contentful merged 1 commit intomasterfrom
INTEG-3768-fix

Conversation

@ryunsong-contentful
Copy link
Copy Markdown
Contributor

@ryunsong-contentful ryunsong-contentful commented Apr 7, 2026

Purpose

  • Contentful's servers can't access Google's signed image URLs — fixed by fetching the binary in the browser and uploading it directly to Contentful
  • Asset placeholder IDs were only being resolved in RichText fields, not standalone Media fields — fixed by extending the resolution to all asset field types
  • Lookup misses if the agent encoded the URL differently — fixed by storing both raw and normalised URLs as keys, and omitting the field entirely if the placeholder still can't be resolved (instead of writing a broken reference)

To view the how these changes performed see the latest entries created in https://app.contentful.com/spaces/9pm311s1i5qt/environments/franco-fe-entries-creation/views/entries

Screenshot 2026-04-07 at 4 33 02 PM

@ryunsong-contentful ryunsong-contentful requested a review from a team as a code owner April 7, 2026 22:38
@ryunsong-contentful ryunsong-contentful force-pushed the INTEG-3768-fix branch 2 times, most recently from 2c85a03 to d733520 Compare April 8, 2026 15:44
@ryunsong-contentful ryunsong-contentful merged commit ae1608f into master Apr 9, 2026
16 checks passed
@ryunsong-contentful ryunsong-contentful deleted the INTEG-3768-fix branch April 9, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants