OAuth 401 error


I am developing app for marketplace. I use OAuth. But accessToken seems not to be valid. I receive 401 error on any request with this token in Authorization header. I use it simple as Authorization: Bearer .


The lifetime of the access_token only lasts 1 hour. Are you still using the same afterwards?


Oh it was my fault. I just use wrong endpoint (proxy-api.pipedrive.com). But 401 is an unexpected error in this caseā€¦