(1005) Sorry, your max waiting time was reached, but I am still processing.

This error occurs when you are waiting for a result (e.g. text.tags, text.relatedTexts) and the time for calculating a result exceeds the provided wait time. The default wait time is 5 seconds.


Solutions

Set the wait time param manually and increase it from 5 seconds to for example 10 seconds. The connection will be closed after 10 seconds or as soon as a result has been calculated.