APIs & Integrations

IHaida
Participante

CMS API

I tried using Beta of CMS API and faced the error during the authorization. Here is the request 

curl --request GET \
--url 'https://api.hubspot.com/cms/v3/knowledge-base/articles?portalId=25523320' \
--header 'Authorization: Bearer CPXxgsqlMBIOAgWBQAAAAyIAAABI-AEY-OiVDCDHi-EEKLiOJzIUBoaqKI78nnksBDvvOQDoSLrRAAA6MAAgBEH_BwAAwAeAAABgeMAkgAAAAAAABAQMAPgAAADOw_8RAQAAAIBGHBgA_x9wAkIUS5Yly5Tj7cfOvDpzybGTYQbDxM5KA2V1MVIAWgA' \
--cookie hubspotapi=AAccUfsGWb2O1ezJv8fa8dCvefygP_DmngEd3P8JnadT-rx3_Cg35CZwSGWO6zUOIgjM0P0jB3Wgy2PmMvRVvB-NYVIYQGYKPRO8jkVWgqhlcNkMlAUXJxjZTPy8tCGRC97Yjt9ek9PgXEuFnRLzRpA9Qs0KT7vp96cGwkjW2gFZfECfogs_PoA-g_7EQfzvUCwvB4Dlt8ZZ5vsy77ALDbvXPc62Mnr4pEk3penLb4Ezrq6Fcb5AOcIaO5Muf1svyb56cdu6hWWWad4WveiRa_yWbIitkVPs0Yb4wKDdo9UPNqSgJJLeyGGGLnpg6Km8vxa5GOmEpjqHflktsE3E_hEJoIoHNey-P_wOHunpzzXHb1b2UbidwNSigIYEquRc045VQyCf-3u-V2iSZ4WXXEsNhRtp4TtMrDzEvp5XEOumj1LhFBl6_1DrFWtmju3IzHT8Db0aFMNjiKovB6cqJDx9ayox-hgiosSLPjG6yuFJzDPjhAmrm4ETD6FBafJEADl3wOZ1MpDN6CenekCBDLDMY6jMP0kwGYP1puZUVi_LLGynpNqZmpSOSGxafppfwGhFBDRjhojWSB2cRyMFhhEhEL0n2rpCjw

 

Here is the response 

 

{
"correlationId": "15e11656-eb9a-4b9a-9a05-71dcc28c94bf",
"errorType": "MISSING_AUTH",
"message": "Not engaged, auth is missing",
"status": "error"
}

 

Is there a way at the moment to resolve it?

4 Respuestas 4
TVelychko
Participante

CMS API

same issue with knoledge base api

0 Me gusta
KAndriy
Participante

CMS API

I'm facing the same issue. Is there any solution to it?

0 Me gusta
Teun
Experto reconocido | Partner nivel Diamond
Experto reconocido | Partner nivel Diamond

CMS API

Hi @IHaida ,

 

I would advise you to hide your auth token from this post. As it gives access to your portal and can be abused.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


0 Me gusta
IHaida
Participante

CMS API

I left that on purpose, so you can actually see how that works. This is a test account and there is no actual data in it.