papercups-io/papercups

Failed to delete customer. Please try again later.

Opened this issue · 3 comments

Chronology

When I want to delete customer data using the API client I'm trying to build, I get an Internal Server Error response.

I tried to check it but I didn't find any error in the script I wrote, and I tried to delete it from the Papercups panel, but the response I received was Failed to delete customer. Please try again later.

I also looked at Network in DevTools, and it was true, it was Internal Server Error.
I have attached the screenshot here.

Expected behavior

Of course I was expecting a "successfully delete customer data" response, hehe

Screenshots

The screenshot above I got from the API Client that I'm making and I tested it using CodeIgniter 4
The screenshot above me is from the Papercups panel, hehe

Additional context

Btw, the API client I'm building I put here.
Thanks.

thanks for flagging this @sooluh! looks like it's a foreign key constraint issue... we'll try to have a fix out soon! (probably next week)

love your php library btw! 🎉

well, I'm not in too much of a hurry for that, you're welcome.
for your compliments to my library, I am very happy, thank you 😀