502 error to load the Editor component
complete
Gledson Almeida
We are using the unlayer components in our project, however, we are getting the 502 error, whenever the editor loads up, the console shows a 502 error and a "failed to fetch" error.
Could you please investigate?
curl 'https://api.events.unlayer.com/usage' \
-H 'authority: api.events.unlayer.com' \
-H 'accept:
/
' \-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8,pt;q=0.7' \
-H 'content-type: text/plain' \
-H 'origin: https://cdn.dynamicyield.com' \
-H 'referer: https://cdn.dynamicyield.com/' \
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
--data-raw '{"displayMode":"email","designMode":"live","customTools":2,"customTabs":0,"customBlocks":0,"customFonts":0,"linkTypes":2,"mergeTags":0,"specialLinks":0,"displayConditions":0,"designTags":0,"customCSS":true,"customJS":true,"fileStorage":true,"projectId":9788,"referrer":"https://adm.dynamicyield.com/r?redirectToSectionId=8786368&locale=en#/r/smarts/experience-emails/new"}' \
--compressed
curl 'https://api.events.unlayer.com/save' \
-H 'authority: api.events.unlayer.com' \
-H 'accept:
/
' \-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8,pt;q=0.7' \
-H 'content-type: text/plain' \
-H 'origin: https://cdn.dynamicyield.com' \
-H 'referer: https://cdn.dynamicyield.com/' \
-H 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
--data-raw '{"type":"editorReady","userId":"8786368","projectId":9788,"referrer":"https://adm.dynamicyield.com/r?redirectToSectionId=8786368&locale=en#/r/smarts/experience-emails/new"}' \
--compressed
Tali Hawley
This has been resolved. Please note, this error was not affecting the direct use of the editor, however, we went ahead of correct the CORS error so you should no longer see this within the logs.
Tali Hawley
complete
Tali Hawley
This has been resolved. Please note, this error was not affecting the direct use of the editor, however, we went ahead of correct the CORS error so you should no longer see this within the logs.
This post was marked as
in progress
Tali Hawley
under review
The team is currently investigating this issue.