invalid value for faxresolution.
Tags: sdk
Dec 14, 2016 at 2:00am • 10 replies • 0 likes
ajathar
iam using the api. and getting error as 'faxresolution' value is invalid. it comes for every parameter that i pass? please help. iam using the method given in github code for the api call.
10 Answers
If you don't have issues about fax sending any more. I suggest you creating a new ticket for the new issues and describe your question in detail. To be frank I am not an expert on account configuration. So it's better for you to create a new ticket with title "International calling disabled issue". By doing that you will get help from others sooner.
0
Oops! Are you writing program in C# or JS? If we are talking about C# instead, please check here for a sample to send fax: http://ringcentral-csharp.readthedocs.io/en/latest/
0
https://github.com/ringcentral/ringcentral-js#fax The official doc says you should use FormData. I doubt that it will ever work if you don't use it.
Only RingCentral staff have access to api logs on server side. I am not sure if that is what you mean.
Only RingCentral staff have access to api logs on server side. I am not sure if that is what you mean.
0
To send fax, you need to use FormData. Please check the code here: https://github.com/tylerlong/rc-commander/blob/master/rc-fax.js
There are two issues in your code: 1. "const string text = ..." is declared but unused. 2. you are not using FormData to send fax.
There are two issues in your code: 1. "const string text = ..." is declared but unused. 2. you are not using FormData to send fax.
0
Hi Tyler,
Thanks for the reply.
its not just about the fax , but also with other parameters. i tried the code that is there on github.
var sdk = new SDK(appKey, appSecret, sandboxServer, "Dispatcher", "");
// Password Grant Authorization
var response1 = sdk.Platform.Login(username, extension, password, true);
const string text = "Hello world!";
var json = "{\"to\":[{\"phoneNumber\":\"+912267676262\"}],\"faxResolution\":\"High\"}";
var request = new Request("/restapi/v1.0/account/~/extension/~/fax", json);
var response = sdk.Platform.Post(request);
here is the sample code.
Thanks for the reply.
its not just about the fax , but also with other parameters. i tried the code that is there on github.
var sdk = new SDK(appKey, appSecret, sandboxServer, "Dispatcher", "");
// Password Grant Authorization
var response1 = sdk.Platform.Login(username, extension, password, true);
const string text = "Hello world!";
var json = "{\"to\":[{\"phoneNumber\":\"+912267676262\"}],\"faxResolution\":\"High\"}";
var request = new Request("/restapi/v1.0/account/~/extension/~/fax", json);
var response = sdk.Platform.Post(request);
here is the sample code.
0
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder