Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

method failed error when purchasing number #157

Closed mheap closed 2 years ago

mheap commented 6 years ago

Steps to reproduce

Run with insufficient credit

nexmo number:buy --country_code GB --confirm

Expected behavior

An error message saying that I have insufficient credit

Actual behavior

method failed

leggetter commented 6 years ago

What's the --verbose output?

On Thu, 1 Feb 2018, 08:36 Michael Heap, notifications@github.com wrote:

Steps to reproduce

Run with insufficient credit

nexmo number:buy --country_code GB --confirm

Expected behavior

An error message saying that I have insufficient credit Actual behavior

method failed

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Nexmo/nexmo-cli/issues/157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUCr9sXeOZG6vFP3PL2B2qMYlbrHow4ks5tQXecgaJpZM4R1O9x .

mheap commented 6 years ago

I can't reproduce as I have credit on my account now. Will investigate more next week

leggetter commented 6 years ago

Ah, that's good insight though 👍

On Thu, 1 Feb 2018, 08:39 Michael Heap, notifications@github.com wrote:

I can't reproduce as I have credit on my account now. Will investigate more next week

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Nexmo/nexmo-cli/issues/157#issuecomment-362196027, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUCr5UL0rYyf7Iz8xsZIng4Cf0CQAD9ks5tQXg0gaJpZM4R1O9x .

AlexLakatos commented 6 years ago

I'll setup an account and burn through the credit, try to investigate it. Any idea what happens if you try to do other things without credit (i.e. send an sms)?

mheap commented 6 years ago

Afraid not. I think we need to do an end to end set of tests using an account with no credit

On 1 Feb 2018, at 10:19, Alex Lakatos notifications@github.com wrote:

I'll setup an account and burn through the credit, try to investigate it. Any idea what happens if you try to do other things without credit (i.e. send an sms)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.