[Discovery] Error in CreateModuleDefinitionsForExtensions2 in Modules_Reload
Forge component by Francisco Menezes
Application Type

Good morning everyone,

I'm having a problem and I don't know how to solve it, the only thing I can say is that the same day that it stopped failing, we changed the URL of the environment so that it is called something else, I don't know if I should reinstall Discovery or I need to change something in the part of Discovery or if that has nothing to do with it.

Attached capture with the error to see if you can help me.

Thank you,

Best Regards,


Hi Julio,

Just throwing a few suggestions since I haven't seen this bug before:

- the error seems to be occurring in a timer under DiscoveryProbe module when running action SnapShot_Create;

- this is a database error due to foreign key constraints so more likely related to the previous data in your Discovery app than the change of URL environment you mentioned;

- this could be quickly resolved by deleting all snapshot data (if you don't mind losing previous data);

- worse case scenario you might need to troubleshoot/debug that query to understand what is causing that database constraint error;

- another thing you could try doing is to check if you have the latest version of Discovery installed (the current one available from Forge is 5.1.2 and mentions a list of bug fixes (including an error executing query taking a snapshot).

Hope the above helps, good luck!


Thank you very much for answering and giving me an idea.

Desistale the version you had, and install the version that you told me and now it works.

Thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.