HubSpot / hubspot-api-php

HubSpot API PHP Client Libraries for V3 version of the API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

do not use "access-token" as default token (as this token exists)

odoucet opened this issue · comments

I lost several hours of debugging on my code, because I was still using "access-token" as token used and the error message was :

The OAuth token used to make this call expired 19884 day(s) ago.

This was very confusing because I thought this was an issue with my token.

If you try to use token "thisisatesttoken", the error is

Authentication credentials not found.

This error message makes more sense.
So please, dont use "access-token" in documentation.

Hi @odoucet
Do you mean the README or the other documentation?

the README file :)

Done
Thank you for reporting the issue.