An API was called on the main thread that can only be used from the worker thread.