-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Mandrill #1000
Comments
can you please describe the error? user is not found? mandrill is not sending? template is not found? |
I have this response on the client: XMLHttpRequest cannot load https://labcyboolo.herokuapp.com/parse/functions/msg_invit. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://cyboolo.worldsecuresystems.com' is therefore not allowed access. The response had HTTP status code 503. On heroku: 2016-03-12T14:59:43.429143+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/parse/functions/msg_invit" host=labcyboolo.herokuapp.com request_id=f3598f9c-94ae-41b7-8cf6-31e823d78d04 fwd="77.146.194.164" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 I think this is not a problem of finding user or template. Yesterday before I udpated to new version of parse server it worked perfectly. I think the problem must come from how to config mandrill with this new version of parse server... Do i have to install mandrill npm in some way on heroku? Because I installed my app with heroku button and it installs node buildpack but how can I be sure mandrill is present? Thanks for your help |
how do you run parse-server on heroku? parse-server sets 'Access-Control-Allow-Origin':'*' on every requests so that seems to be a problem with your setup. |
Actually it is because I did not declare mandrill as dependency in package.json: "mandrill-api":">=1.0.2" Sorry and thank you for your help |
Hi I am also not able to send email after migration to parse server the mandrill cloud code returns 'internal server error' my mandrill api version is 1.0.45. @cyboolo Can you please tell me how would the be resolved below is my function reside in cloud/main.js and pushed to heroku. `Parse.Cloud.define("sendMail", function(request, response) {
|
Be sure you have installed mandrill api: npm install mandrill-api |
Before I update to last version of parse server, this function worked perfectly. Now it is not working...
Could you explain me what is wrong please?
`Parse.Cloud.define("msg_invit", function(request, response) {
Parse.Cloud.useMasterKey();
}); //Fin`
The text was updated successfully, but these errors were encountered: