looks like there are a bug in massive delete tags from account

50 views
Skip to first unread message

Alexandr Balashov

unread,
Dec 14, 2021, 7:28:06 AM12/14/21
to Kill Bill users mailing-list
Hello,
I try use https://github.com/killbill/killbill-client-php/blob/master/docs/Api/AccountApi.md#deleteaccounttags to delete tags, but catch error. https://snipboard.io/QVd8FP.jpg (just add 2 tags to some account and then try remove it both).
But there are no problem when I remove tags one by one  https://snipboard.io/WYzH0p.jpg (just add 2 tags to some account, remove it one by one, and check exist  account tags - it's empty).
Guess it looks like a bug.

stephane brossier

unread,
Dec 14, 2021, 4:38:05 PM12/14/21
to Alexandr Balashov, Kill Bill users mailing-list
perhaps - could you try the same thing doing cURls for instance to understand if this is an issue on the server side or on the php client?


--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/5ce1086b-c6fc-440d-8e04-99acab273c39n%40googlegroups.com.

stephane brossier

unread,
Dec 15, 2021, 5:28:22 PM12/15/21
to Alexandr Balashov, Kill Bill users mailing-list
Our team investigated and it looks like an issue with the php client - would you be interested in submitting a PR with a fix ?

Alexandr Balashov

unread,
Dec 16, 2021, 12:42:07 AM12/16/21
to Kill Bill users mailing-list
Probably, 
but for now I can't remove even one tag by curl request. Looks like I've some mistake in request, but cant understand where.  https://snipboard.io/MB8QVh.jpg probably may be you could help me to see the problem. There are response and then request to fit it on the same screen.

четверг, 16 декабря 2021 г. в 00:28:22 UTC+2, step...@kill-bill.org:

Reshma Bidikar

unread,
Dec 16, 2021, 6:33:48 AM12/16/21
to Kill Bill users mailing-list
Hello,

At first glance, your cURL looks good to me. There could be a small typo somewhere. Could you try again by using the command exactly as specified here (replace account id, tagDef, and credentials)?

Regards,
Reshma

Alexandr Balashov

unread,
Dec 16, 2021, 10:39:14 AM12/16/21
to Kill Bill users mailing-list
Hm, 
I suggest manage KB API to correct work with request 
Because now it produce error: Killbill\Client\Swagger\ApiException : [404] Error connecting to the API 
But such request won't generated by \GuzzleHttp\Psr7\build_query. Another solution will looks like a hack.

четверг, 16 декабря 2021 г. в 13:33:48 UTC+2, res...@gmail.com:

Reshma Bidikar

unread,
Dec 17, 2021, 3:11:07 AM12/17/21
to Kill Bill users mailing-list
Hello,

The correct URL to specify multiple tags for deletion is as follows:


Are you saying that you are having an issue generating such a URL using your PHP HTTP client?

Regards,
Reshma

Alexandr Balashov

unread,
Dec 17, 2021, 11:06:43 AM12/17/21
to Kill Bill users mailing-list
Hello, 

Are you saying that you are having an issue generating such a URL using your PHP HTTP client?

Reshma Bidikar

unread,
Dec 20, 2021, 2:29:05 AM12/20/21
to Kill Bill users mailing-list
Hello,

Thanks a lot for submitting the PR, we will review it and get back.

Regards,
Reshma
Reply all
Reply to author
Forward
0 new messages