making sure projectId is defined before fetching
squid_api default setup