Make sure that your shared url and canonical url are using the same protocol (https:// or http:). If you are sharing http:// and the canonical url is set to https://, you will probably receive a 500 response code. You can use this tool to troubleshoot posts: Sharing Debugger - Facebook for Developers.