Troubleshooting & FAQs
Troubleshoot common error scenarios and find answers to frequently asked questions about Razorpay .NET SDK.
Following are the solutions for two possible errors:
Error | Cause |
---|---|
The server did not send back a well-formed response. Server Response: Array. | This error appears if you are using TLS v1 on your client-side. |
Resolution
- Fix 1: Verify if client supports TLS v1.1 using this website: . If yes, upgrade the client to
TLS v1.1+
. - Fix 2: Use the code given below to force TLS v1.2:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Error | Cause |
---|---|
Exception User-Unhandled | This error appears if you are using TLS v1 on your client-side |
Resolution
Use the code given below to force TLS v1.2.
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Is this integration guide useful?
ON THIS PAGE