Hi team, i was making a GPTs and wanted to create an action which simply read a README.md from public github repo. My first test was successful and I was able to get ChatGPT to ask me “what do you want me to do with this data?” . After i tried to ask something, it failed but after that i was never able to get a succcessful test.
Here is the open api schema:
openapi: 3.0.0
info:
title: GitHub README Access API
version: 1.0.0
paths:
/repos/owner/repo/contents/README.md:
get:
summary: Get README from owner/repo
operationId: getReadme
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
content:
type: string
format: byte
security:
- ApiKeyAuth: []
Here is what happens when testing:
Call the api.github.com API with the getReadme operation
Tested getReadme
[debug] Calling HTTP endpoint
{
"domain": "api.github.com",
"method": "get",
"path": "/repos/owner/repo/contents/README.md",
"operation": "getReadme",
"operation_hash": "2f899069ae642f2898b065094f6af345ba0dffe2",
"is_consequential": false,
"params": {}
}
[debug] Response received
{
"response_data": {
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest"
},
"status_code": 404,
"action_id": "g-f26fe3e25f3b7694ece4b5df0b7395fc56993334"
}
Talked to
It seems there was an issue accessing the requested information from the RunaCapital GitHub repository. The API call did not succeed, possibly due to changes in the repository's availability or structure. If you have another specific software or category in mind for which you need open source alternatives, please let me know, and I'll assist you accordingly.
Any reason why this would be happening? Even though I am using public github API for call, i even added an auth with my API key but it still seems the call is failing.
When I do a simple get from Postman for /repos/owner/repo/contents/README.md i get a responses.