Error occurred while fetching metadata when trying to setup inbound email

Hello Everyone.
I’m having problems setting up inbound email.

Flow:

  1. Clicked on my username at the top right.
  2. Clicked ā€˜Admin’.
  3. Clicked ā€˜Email Settings’.
  4. Entered outbound email settings and successfully sent a test email.

To enter inbound settings, I repeated Steps 1-3 then clicked ā€˜Inbound Email’.
I then get an error message ā€˜Error occurred while fetching metadata’

Upon reading this article:

I thought I’d follow a similar diagnostic route.
After setting the APP_ENV to qa, here is the Network output in my browser.

I double clicked the graphql element and it showed:

  1. return;
  2. }
  3. ``
  4. $value = $event->getRequest()->headers->get($this->headerName);
  5. if (empty($value) || !$this->csrfTokenManager->isTokenValid($value)) {
  6. throw new AccessDeniedHttpException('Invalid CSRF token');
  7. }
  8. }
  9. }

I’ve tried the same process on 2 different browsers with the same error.

Any ideas what’s happening please?
Thanks
IDAK

1 Like