Skip to content

There is a need of model to handle error. #28

@devang-dreambits

Description

@devang-dreambits

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions