The rendering with ShapeDiver API engine fails, can I somehow identify the issue

Currently, I use the API of ShapeDiver to send parameters to API but sometimes the model can not show correctly, so how can I catching the error if the model can not render or fail or something like that?

Can you share the Grasshopper model and the code causing the problem so we can try to reproduce this? Also, please check the browser console for errors and post them here if you find any.