How do you troubleshoot "Unauthorized: Forbidden" errors with the Integration Service Freshservice connector?
Description: If "Unauthorized: Forbidden" error is thrown on the Freshservice Connector, there might be a mismatch between the API Key and the Subdomain of your Freshservice app.
Resolution: Validate the following to resolve this error,
- Ensure the API key is from specifically Freshservice and not Freshdesk, Freshworks as a platform has several components that all require unique API keys for each one so ensure using an API key from Freshservice is important as there is no Integration service Connector for the other Freshworks components
- Ensure that the Subdomain used for the Connector is specific to Freshservice such as https://{subdomain}.freshservice.com/
- Additionally, perform a test directly to the Freshservice API via importing this curl into a tool such as Postman and inserting your apikey and subdomain:
- curl -v -u api_key:{apikey} -H "Content-Type: application/json" -X 'GET https://{subdomain}.freshservice.com/api/v2/tickets'