Skip to main content

Why is my Composer Power-up returning a CORS error?

Question

Why would a Composer Power-up return a CORS error?

Answer

This is usually because the Power-up is calling a PageBuilder content source directly, instead of an API endpoint like Content API, Site Service API, etc. Power-ups are iFrames, and you will get a CORS error if you call the content source directly.

Update your Power-up to call an API endpoint to resolve this issue.

More Information