function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robert KostusiakRobert Kostusiak 

Error during package installation

Hi,

we are getting following error during package installation on our org:

Problem:
1. Unexpected Error
The package installation failed. Please provide the following information to the publisher:
Organization ID: 00D24000000p5J3
Error Message: The post install script failed.

How can we get more information about this error - for example related error log to be able to fix this problem?

Regards,
Robert
 
PERFECTIONISTPERFECTIONIST
Dear Robert,

Its very limited information you have provided, could you please summerise about the package and ...etc 
so that we may try to find the root cause.


Thanks,
Robert KostusiakRobert Kostusiak
Hi,

sure, please find below all details I have:

Organization: 00D24000000p5J3
User: 005240000019Dy1
Package: 04td0000000N73i

Problem:
1. Unexpected Error
The package installation failed. Please provide the following information to the publisher:
Organization ID: 00D24000000p5J3
Version: 1.274
Error Message: The post install script failed.

Regards,
Robert
 
Aditya TopalliAditya Topalli
It looks like the Post Install class you have written is throwing an exception. Copy the code and execute it in Execute Anonymous window and check the logs.

As a best practice, enclose the whole code in try block and in the catch block, send an email to yourself with the exception.

Thanks,
Aditya