I’m in the process of migrating a Connect app to Forge. Following this guideline Migrate custom content from Connect to Forge , I encountered a problem of Missing custom content body in the newly created content.
Here’re example commands that I use to reproduce the issue:
I also tested creating custom content using the forge type, e.g. “forge:d9e4002b-120b-426b-834b-402a4a5adce7:1e468bcd-89ab-49f0-a648-14620b9cde00:my-content-key”, but the “body” is still missing in the retrieved result.
Hi @whimet I think your module needs the bodyType: raw property. If it’s not defined it will default to using bodyType: storage, which seems to be happening in this case.
Thanks @twhite, the bodyType: raw makes sense. Unfortunately when I tried to test it today I kept getting 400 error with Invalid type ac:my-app-key:my-content-key, even I reverted the module definition change. I’ll try again later.
I tested again today, initially the creation succeeded with 201, but GET request got 404 until quite a long time later (>5mins). After about half hour another test succeded. So looks good now.
@whimet Yes sorry this is an issue on our end, a side effect of an existing cache (~5 minutes) is causing the new custom content module to not be recognised immediately.
We’ve made a fix for this and will begin rolling it out Monday AEDT time, so should be completely rolled out by midweek.
If you would like, you can send me your testing site URL and I can add you to the feature flag so you can try the fix early.