The sample data and code may contain offensive content. User discretion is advised.
Troubleshooting
- 401/403 (authentication errors): Confirm that you’re using a key for the same resource as the endpoint.
- 404 or invalid URL: Confirm that the endpoint starts with
https://and matches the endpoint shown for your Azure AI Content Safety resource. - Blocklist changes don’t apply yet: Blocklist changes can take a few minutes to take effect. If you don’t see matches right away, retry the analyze call after a short delay.