We're so sorry to hear about the trouble. Could you please try the suggestions shared here https://helpx.adobe.com/xd/kb/cannot-use-share-feature.html and let us know if this helps or if you need any further assistance.
thanks for the reply.
I have tried that suggested solutions mentioned in the link and made changes that might be causing the problem but despite that the problem continues.
rather the last updated link had all artboard currently only updating few minor changes, and rather even reduced the number of art boards.
Thanks for trying Riddhi. Could you please try splitting your artboards into two separate files and then retry. If that doesn't work either, please share the file on which you are getting the error along with system logs https://helpx.adobe.com/creative-cloud/kb/cc-log-collector.html
Please add the XD file and the logs file to a shared location like Google Drive or DropBox and share the link through DM by clicking on my name, we'll try our best to help you with it.