Bug report: Ticket association with contract via Oauth

while switching API Integration from access token to auth header token, I encounterd 401 response at the endpoint: https://api.hubapi.com/crm/v3/objects/{ticketId}/associations/{toObjectType}/{toObjectId}/{associationType}

my token scopes are “tickets” “crm.objects.contacts.read”, “crm.objects.contacts.write”

And way of access token still is working so it’s not my implementation.

I’m not sure if lack of scope causes this issue or endpoint does.

Hi, @MEiji :waving_hand: Thanks for reaching out. If you have access to support (you included the Professional tag) I’d suggest filing a support ticket.

Questions:

  • Are you using the endpoint — Associate a ticket with another object
    PUT /crm/v3/objects/tickets/{ticketId}/associations/{toObjectType}/{toObjectId}/{associationType}​
  • If you make a test request from the API documentation (above) using your Private App, do you get the same error?

Thank you! — Jaycee

Thank you for your reply

I overlooked adding authrorization header to the request.

Thank you for your help.