Vonage / vonage-dotnet-sdk

Vonage REST API client for .NET, written in C#. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com/
Apache License 2.0
106 stars 82 forks source link

Few days ago i successfully create an outbound call(.net mvc framework4.6.1 on win10), then i copy 100% same code to my working environment at home(.net core 2.x on mac os), then i started to get the exception "System.ArgumentException: 'RsaUsingSha alg expects key to be of RSA type" again ! Do i need change any.....like..configuration? or something else?? #132

Closed lidondon closed 5 years ago

lidondon commented 5 years ago

Thank you for making this library better by submitting an issue. To ensure we can troubleshoot effectively, please fill out this form in its entirety.

If you are submitting a feature request you may ignore this template and enter a free-form description of your request. You may also contact the maintainers directly via the Nexmo Slack to discuss the feature.

General description of the issue or question

(Please be as descriptive as possible. If this is a general Nexmo question (billing, usage, etc.) you will receive a better experience by either filing a support request directly to Nexmo or asking in the Nexmo Slack.)

Which target framework(s) of .NET can you reproduce this issue against?

(Examples: .NET Core 2.0, netcoreapp1.0, .NET Framework 4.6.2, etc.)

What operating system(s) is exhibiting this issue?

Version or commit hash

Which version(s) of CSharp.Nexmo.Client did you encounter this issue?

Expected Behavior

What should have happened?

Actual Behavior

What actually happened?

Steps to Reproduce

Please provide a code snippet or steps to reproduce the issue.

judy2k commented 5 years ago

Hi @lidondon. It looks like there's a problem with your credentials on your home machine - either they're missing or they're incorrect - it doesn't look like this is a code issue - it's an issue with your home working environment.