The "Blocked by WAF" error typically arises when the request mistakenly directed to an endpoint that doesn't align with their intended action. Let's illustrate this with an example:
Scenario: You want to cancel a subscription and send a request to this endpoint:
Base URL: https://pay.solidgate.com/api/v1
However, the actual endpoint for this request is:
Base URL: https://subscriptions.solidgate.com/api/v1
This discrepancy in base URLs leads to an error. To avoid this, it's crucial to ensure the correct pairing of endpoint and base URL for your API requests.
Troubleshooting the Issue
When faced with this error, your first question should be: "Which endpoint (full URL) is used when sending a request?" Verifying that you have the right combination of endpoint and base URL is essential for successful API communication. All valid endpoints can be found here: