Status code is 200 | AssertionError: expected response to have status code 200 but got 401

I do request with Postman, and received this failed message.

Status code is 200 | AssertionError: expected response to have status code 200 but got 401

Could retrieve the groupId from response | AssertionError: expected response body to be a valid json but got error No data, empty input at 1:1

Best Answer

  • Hi @thou.dim ,

    Thanks for reaching out to us!

    I've verified the logs for your account on our side and unable to find any API requests coming in from your system. Can you please share with us the exact request headers and the response headers for the failed API calls from your postman console.

    Moreover, I recommend uninstalling and reinstall the postman application and try to import our latest postman collection and the environment file again and make sure you are not missing to send the API key and Secret in the environment file to successfully initiate the API call.


    Thanks

    Sai

Answers