Troubleshooting HTB API: Machine Listing Issue


Hi everyone,

I’m currently facing an issue with the HTB API and could really use some help from the community. I’m trying to use the API endpoint to list machines, but despite adding the Bearer token for authentication, I’m still getting an error response.

What I’ve Tried So Far:

  1. Verified Bearer Token: Double-checked that the token is correctly generated and included in the request header.
  2. Checked API Endpoint: Confirmed that the endpoint URL for listing machines is correct.
  3. Reviewed Documentation: Ensured that all required parameters and headers are correctly implemented as per the HTB API documentation.

Despite these steps, the API continues to return an error indicating that the request is not authorized.

Possible Issues:

  • Token Expiry: The Bearer token might have expired, but I’ve regenerated it multiple times with no success.
  • API Changes: There might have been recent changes to the API that I’m not aware of.
  • Rate Limiting: I considered the possibility of rate limiting, but the issue persists even with minimal requests.

Has anyone else encountered this issue or have any suggestions on how to resolve it? Any insights or advice would be greatly appreciated!

Thanks in advance for your help!

1 Like