This page is no longer supported. Please refer to the current guide for up-to-date information.

The "Blocked by WAF" error typically arises when the request is 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:


Endpoint: /subscription/cancel-by-customer

Base URL: https://pay.solidgate.com/api/v1


However, the actual endpoint for this request is:


Endpoint: /subscription/cancel-by-customer

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: api-docs.solidgate.com