Replies: 1 comment 1 reply
-
Well, I will have a look, this are different apis and some errors returns a pure raw html and the response is ok so it is a little bit tricky to get some exceptions depending on the endpoint. When I get some time I will review if some codes can get exceptions in a consistent way. If you have time and want to implement you can create a PR and I will happy to review or help you. Kindest regards. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now no matter what the problem is you will either get AdvertisingApiException or AdvertisingApiForbiddenException. It looks like in the client it is already determining what kind of error is happening. Would it be possible to please create specific exceptions at least for errors that can be retried?
Specifically:
This would make retry//back-off error handling much easier and more in line with how its done in sp_api.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions