During the execution of the API requests, You might get some status codes with the responses showing an error, these codes will be as listing below
Status Code (400): This code means that you are passing a wrong value of any parameter, and the response body will display the exact location of that parameter.
Status Code (401): This code means that you are not using the access token and refresh token with your requests or you are using the wrong tokens, so you need to use the correct access token and the correct refresh token with your request.
Status Code (404): This code means that you are calling the wrong URL and you need to recheck the request URL that you are using.
Status Code (500): This code means that there is an error with the server and you need to contact the technical support for more information.