title: How to move cloud code from parse.com to heroku
body: <p>I have moved parse sever from parse.com to heroku. Everything is working fine except cloud code('cloud/main.js' file).</p>
  
  <p>I have replaced "main.js" of parse.com with "main.js" of parse server code and deployed on heroku, but it is not working. Getting following error when I make request from my mobile app</p>
  
  <pre><code>{"code":1,"message":"Internal server error."} (Code: 1, Version: x.xx.x)
  </code></pre>
  
  <p>Any idea?</p>
  
  <p><strong><em>Note:
  I've followed following link for migrating parse server</em></strong></p>
  
  <p><a href="https://learnappmaking.com/how-to-migrate-parse-app-parse-server-heroku-mongolab/" rel="nofollow">https://learnappmaking.com/how-to-migrate-parse-app-parse-server-heroku-mongolab/</a></p>