Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

AEMaacs Graphql Preflight Test

Avatar

Level 5

Hey All,

 

So working through all these CORS issues. I was able to fix all the issues on my local box but when I get to dev (cloud), I am getting a 204 on my preflight. Then after that, I get a 404

 

1) (preflight call) endpoint.json?operationName=getFooter&variables=%7B%7D&query=query%20getFooter%20%7B%0A%20%20footerList%20%7B%0A%20%20%20%20items%20%7B%0A%20%20%20%20%20%20footerCompanyName%0A%20%20%20%20%2 ..... This gets a 204 response

2) endpoint.json?operationName=getFooter&variables=%7B%7D&query=query%20getFooter%20%7B%0A%20%20footerList%20%7B%0A%20%20%20%20items%20%7B%0A%20%20%20%20%20%20footerCompanyName%0A%20%20%20%20%2 ..... 404

 

Any suggesstions. We are trying to use AEM totally headless with Graphql

 

1 Solução aceita

Avatar

Resposta correta de
Community Advisor and Adobe Champion

Hi @Sean-McK ,

 

Assuming because preflight called got 204 response the second call failed and got 404. Could you please see below thread once. Just to check the CORS issue which you fixed on local I assume you have all set on Dev ie, 'Apache Sling Referrer Filter, Adobe Granite CSRF Filter'.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-postback-gives-http-20...

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Community Advisor and Adobe Champion

Hi @Sean-McK ,

 

Assuming because preflight called got 204 response the second call failed and got 404. Could you please see below thread once. Just to check the CORS issue which you fixed on local I assume you have all set on Dev ie, 'Apache Sling Referrer Filter, Adobe Granite CSRF Filter'.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-postback-gives-http-20...