Failing to show page content GPT4

I managed to create GPT that connects to OneNote. However, it fails to extract content of the page. Instead, it makes up the content at times

Open API schema

{
  "openapi": "3.0.0",
  "info": {
    "title": "Microsoft Graph API Example",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://graph.microsoft.com/v1.0"
    }
  ],
  "paths": {
    "/me": {
      "get": {
        "operationId": "getUserProfile",
        "summary": "Get current user profile",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfile"
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": []
          }
        ]
      }
    },
    "/me/onenote/notebooks": {
      "get": {
        "operationId": "getUserNotebooks",
        "summary": "Get all notebooks for the current user",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notebook"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/notebooks/{notebook-id}/sections": {
      "get": {
        "operationId": "getNotebookSections",
        "summary": "Get all sections in a notebook",
        "parameters": [
          {
            "name": "notebook-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Section"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/notebooks/{notebook-id}/sectionGroups": {
      "get": {
        "operationId": "getNotebookSectionGroups",
        "summary": "Get all section groups in a notebook",
        "parameters": [
          {
            "name": "notebook-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SectionGroup"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/sectionGroups/{sectionGroup-id}/sections": {
      "get": {
        "operationId": "getSectionGroupSections",
        "summary": "Get all sections in a section group",
        "parameters": [
          {
            "name": "sectionGroup-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Section"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/sectionGroups/{sectionGroup-id}/sectionGroups": {
      "get": {
        "operationId": "getSectionGroupSubGroups",
        "summary": "Get all subsection groups in a section group",
        "parameters": [
          {
            "name": "sectionGroup-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SectionGroup"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/sections/{section-id}/pages": {
      "get": {
        "operationId": "getSectionPages",
        "summary": "Get all pages in a section",
        "parameters": [
          {
            "name": "section-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Page"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    },
    "/me/onenote/pages/{page-id}": {
      "get": {
        "operationId": "getPageById",
        "summary": "Get a specific page by ID",
        "parameters": [
          {
            "name": "page-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page"
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2": ["Notes.Read"]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "UserProfile": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "mail": {
            "type": "string"
          }
        }
      },
      "Notebook": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "SectionGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "Section": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "Page": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "contentUrl": {
            "type": "string"
          },
          "content": {
            "type": "stream"
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://login.microsoftonline.com/tenant_id/oauth2/v2.0/authorize",
            "tokenUrl": "https://login.microsoftonline.com/tenant_id/oauth2/v2.0/token",
            "scopes": {
              "User.Read": "Read user profile",
              "Notes.Read": "Read notes",
              "Notes.Read.All": "Read all notes"
            }
          }
        }
      }
    }
  }
}

Any luck gettting this to work? I’m trying to do something similar. Thanks