question

superdave avatar image
superdave asked ·

Max retries on getting APIKEY endpoints

HTTPSConnectionPool(host='apisandbox.dev.clover.com', port=443): Max retries exceeded with url: /pakms/apikey (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden',)))



I was trying to get an apiKey to process a charge.

I found many places but I couldn't find such a limit.


Please advice

e-commerce api
4 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

"I found many places but I couldn't find such a limit.". What does this mean? Can you explain where you are seeing this error? Can you try making a simple curl or postman request to obtain a palms key?


0 Likes 0 · ·
superdave avatar image superdave David Marginian ♦♦ ·

Python:

#obtain apiAccessKey

url = "https://apisandbox.dev.clover.com/pakms/apikey";

headers = {

'accept': "application/json",

'authorization': "Bearer "+ aMerchant.token

}

response = requests.request("GET", url, headers=headers)

0 Likes 0 · ·

"I search many places" mean I was looking in clover developer docs for documentation such a limit on pakms/apikey usage but I couldn't find any.


I used API reference in clover.com site, and the endpoints returns me a 200, which is good. Is there any other restriction for obtaining an apikey?


I was using localhost for development for 3 weeks, and the call always returned me a <200>, but once I moved to a "live" server and it gives me that error

0 Likes 0 · ·
Show more comments

0 Answers

Welcome to the
Clover Developer Community