Warning: An error occurred while requesting the API

I am using docker and indeed I need to do a build first before doing the yarn develop.
Thank you.