Skip to content
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

Send SMS V2.1 #6

Open
randyvogl opened this issue Oct 8, 2019 · 1 comment
Open

Send SMS V2.1 #6

randyvogl opened this issue Oct 8, 2019 · 1 comment

Comments

@randyvogl
Copy link

In the API Documentation https://developer.flowroute.com/api/messages/v2.1/send-an-sms/ it says that the callback url is not a required field. In your Library for the .net-sdk sample, it also has a default setup that shows it explicitly set to null. When I try to compile TestSDK it fails with the following error "ErrorException: Unprocessable Entity - You tried to enter an incorrect value." because the "dlr_callback field may not be null". Do I have to configure a callback URL?

private static void SendSMS(FlowrouteNumbersAndMessagingClient client, string from_did, string to_did, string callback=null)

@srbentley65
Copy link

@randyvogl I experienced the same thing. It was easy enough to comment out the JsonProperty("dlr_callback") section of the Message model. I also added the apparently required is_mms property and I got it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants