Unable to make requests through Python code given in the sample

I am using the code given in the documentation to get started.
https://docs.rapyd.net/build-with-rapyd/reference/code-samples

Now , when I try to use the make_request() , it returns an error of 404. I have already provided the access and secret key.

I am trying to :
make_request(‘get’, ‘/payment_methods/country?country=CR’)

Error: TypeError: (<Response [401]>, ‘get’, ‘https://sandboxapi.rapyd.net/payment_methods/country?country=CR’)

Please help.