-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error Unexpected character encountered while parsing value: T. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() #40
Comments
Also sometime i get error "One or some of the arguments supplied are invalid." USSD push currently works in Nigeria only Please confirm. I am testing with Kenya Sim Thanks |
Hello @KamranShahid Could you confirm that you are trying to test USSD push on a Kenyan number? |
Yes. One Additional thing about that number is it is on roaming in other country. |
Note that USSD is available in all countries we have a presence in, the only issue is that USSD push is only available in Nigeria. |
I have asked this thing quite early. Atleast Api response should be proper |
This has been noted. Please let us know if you encounter any other issues with our API. |
Sure. Looks like Api response for non supporting country numbers is not proper. |
We'll add these responses |
Just a small advice is to close the issue when you have added the support for proper response. |
See #41 |
I am using .net core web api as my callback
My initiating logic test app is
My controller logic is as following
[Route("[controller]/[action]")]
[Produces("text/plain")]
public class USSDServiceController : Controller
{
public static readonly ILog Logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
[HttpPost]
public IActionResult Process([FromForm] [FromBody] UssdResponse ussdResponse)
{
The text was updated successfully, but these errors were encountered: