Hello, this error indicates that the request was not sent with the proper authentication credentials. The server requires authentication to process the request.
I was wondering if access to the API (POST /accounts/{account_id}/abuse-reports/{report_type}) requires being part of the Trusted Reporter Program, or if this API is available to everyone?
I’m asking because I encountered a similar issue to the OP, even though I tried generating different tokens with varying permissions.
I also generated both an Account-owned token and a User token, but I still ran into an authentication error. I also tested the request using both cURL and the TypeScript library, but the issue persisted.
This made me wonder if the endpoint might not be publicly available.