papercups icon indicating copy to clipboard operation
papercups copied to clipboard

Failed to delete customer. Please try again later.

Open sooluh opened this issue 3 years ago • 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.

sooluh avatar Sep 03 '21 02:09 sooluh

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)

reichert621 avatar Sep 03 '21 03:09 reichert621

love your php library btw! 🎉

reichert621 avatar Sep 03 '21 03:09 reichert621

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 😀

sooluh avatar Sep 03 '21 03:09 sooluh