Hello,
While testing the demo application, I am getting the following error
"StatusCode":401,"StatusLine":"401 Unauthorized","Message":"Failed to deserialize JSON to ErrorWrapper:\nUnexpected character encountered while parsing value: F. Path '', line 0, position 0."
I have used valid API key and Domain name. and also filled the correct data but still getting error.
Hi,
did you configure the correct endpoint for your domain. By default the REST consume endpoint is configured to use https://api.eu.mailgun.net. If your domain is configured in the US zone you have to set the base url (in the IS module) for the REST consume to https://api.mailgun.net.
Best
Stefan
Thanks @Stefan Weber for figuring out the issue. As my domain is US configured, I have changed the base URL as you mentioned, and it worked. Emails are getting triggered now.