News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
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
answered on Dec 15, 2016 at 12:33am  
okay . Thanks a lot for your help. :)

 1
answered on Dec 15, 2016 at 12:25am  
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
answered on Dec 14, 2016 at 11:58pm  
i am trying c#.

yes i used the same code and it worked fine. i checked the status through message list api it says International calling disabled.

But i checked the setting it is on over there. Can you please help.

 0
answered on Dec 14, 2016 at 11:43pm  
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
answered on Dec 14, 2016 at 11:38pm  
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.

 0
answered on Dec 14, 2016 at 11:11pm  
Hi Tyler,

My code worked the attachment was needed i guess. got a proper response frrom the API.

But just one question where can i check the api log for the fax?

 1
answered on Dec 14, 2016 at 7:58pm  
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.

 0
answered on Dec 14, 2016 at 6:52am  
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.

 0
answered on Dec 14, 2016 at 5:49am  
The following works for me:

faxResolution: 'High'

Please note that it should be 'High' instead of 'HIGH' or 'high'.

 0
answered on Dec 14, 2016 at 5:42am  
Where is the sample code you mentioned? Let me take a look.

 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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us