Cortex XSOAR : urlscan.io returned an error. Error in API call to URLScan.io  - Forbidden: Anonymous API submissions are not permitted by our platform.
After installing Palo Alto Cortex XSOAR, you might go through the health check. During health check you will go through a serious of integration/instance testing to check the functionalities. In the XSOAR platform, one of the basic tool an analyst will use is urlscan. And you are probably here reading this post because you might also encountered an error while running the URLscan related commands.
So during my testing, i ran the command to check the reputation of my URL and it returned the following error.
Scripts returned an error
urlscan.io returned an error. Error in API call to URLScan.io  - Forbidden: Anonymous API submissions are not permitted by our platform.
Once you have created the API key, copy the key. You need to provide the key in the instance. Navigate to Settings > Integrations > Servers & Services , then search for urlscan.io. If it is installed, you can see the instance. Click on the Gear icon, next to the instance ( highlighted in yellow below)
Now provide the key. And Done. You may test also.
Now run the command again. You can see the right results.