Hello, guys!
I am experiencing an issue while trying to connect to my custom agent via the API. I’m using the following URL to access the agent: https://chatgpt.com/g/g-HtgCZmAeP-raspakovshchik-lichnosti
.
When my bot attempts to make a GET request to this URL, the server responds with HTML instead of JSON. The response contains an “Unexpected Server Error” message, as well as references to JavaScript code, suggesting that this URL might be designed for web access rather than API requests.
Here are some details about the issue:
- Request Method: GET
- Authorization Header: Bearer token included
- Expected Response: JSON data from the agent
- Actual Response: HTML with “Unexpected Server Error” message
My bot is unable to process this response because it expects JSON data. Could you please confirm if this URL is intended for API access? If not, could you provide the correct API endpoint to connect to the custom agent? Additionally, if there are any specific headers or request formats required to access the agent, please let me know.
Thank you for your assistance. I look forward to resolving this issue and successfully connecting to the agent.