While testing python API for bol, the error repose isn't handled properly. Rather it is generating an exception.
for ex. When an error occurs of Unauthorized in the response of API call, the error stack has a line given below:
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://test-plazaapi.bol.com/services/rest/orders/v2
below is the error code described in the documentation at https://developers.bol.com/appendix-e-http-requests-validation-errors/
41202 | Client and server signature do not match.
Here is list of error code described:
https://developers.bol.com/error-codes-messages/
Here is the list of HTTP request validation error described:
https://developers.bol.com/appendix-e-http-requests-validation-errors/
While testing python API for bol, the error repose isn't handled properly. Rather it is generating an exception.
for ex. When an error occurs of Unauthorized in the response of API call, the error stack has a line given below:
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://test-plazaapi.bol.com/services/rest/orders/v2below is the error code described in the documentation at https://developers.bol.com/appendix-e-http-requests-validation-errors/
41202 | Client and server signature do not match.Here is list of error code described:
https://developers.bol.com/error-codes-messages/
Here is the list of HTTP request validation error described:
https://developers.bol.com/appendix-e-http-requests-validation-errors/