Nexmo / nexmo-laravel

Add Vonage functionality such as SMS and voice calling to your Laravel app with this Laravel Service Provider.
MIT License
317 stars 79 forks source link

Unauthorized #32

Closed yibr closed 5 years ago

yibr commented 5 years ago

when i want to make a call i got this error Unauthorized even with audio call so you don't need even a local server (https://nexmo-community.github.io/ncco-examples/first_call_talk.json)

dragonmantank commented 5 years ago

Hello yibr!

Normally this would mean your nexmo secret and key (or app ID and private key) are probably incorrect. I would double-check this just to be safe. Check out the Configuration Section of the README for more information on configuring it.

If those values are correct, could you please provide us with the code that you are using to make the call?

yibr commented 5 years ago

thanks for your response for sms it works i will genarate a new app and key and see if this is the problem

the code is just like the readme i changed this "answer_url" https://nexmo-community.github.io/ncco-examples/first_call_talk.json

dragonmantank commented 5 years ago

Thanks. I will see if I can replicate the issue.

yibr commented 5 years ago

solved my mistake