-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The endpoint you've tried to access does not exist #71
Comments
Go to the RestClient.php file and edit it where the error originated:
This way you can actually see the response from the request to Mailgun. It might help you figure out what went wrong. |
Turns out I had not verified my account. Got it figured out, thanks! |
You're welcome! |
Looks like the error messages were never updated. I just downloaded the SDK and got this cryptic message today. I thought I had to supply the 2nd arg to the c'tor, but that led to a whole new set of problems. |
Fix for #71: Show response message on 400, 401 and 404.
Is it not possible for the PHP library code to return an error instead of a fatal error. I do not want fatal errors in a production environment. I check for returned code and if 200 then i know the email has been delivered to Mailgun. |
@andrebruton You can always put a This error message should still be updated to say "This domain has not been verified yet" or something, if that is indeed the problem. |
Thank you. Tried it and I get a message back. Does this look good? ` try {
` |
I am getting this error when trying to send a simple email. I have double checked my domain as that was the solution for the few other people who had the same issue, I'm sure its the same one I used to set up my malign account.
my code:
The text was updated successfully, but these errors were encountered: