Hello all, just joined. I am facing an issue with ...
# integrations
k
Hello all, just joined. I am facing an issue with the query/v1/dataset endpoint. I am able to obtain a result when querying just this endpoint, which consists of the datasets I have already prepared and shared on the Netsuite UI via the Datasets/Workbooks portal. The result is pasted below.
Copy code
"count": 2,
    "hasMore": false,
    "items": [
        {
            "links": [
                {
                    "rel": "<http://xmlns.oracle.com/rest/result>",
                    "href": "https://{{REST}}/query/v1/dataset/custdataset4/result"
                }
            ],
            "id": "custdataset4",
            "name": "Sales (Ordered) Dataset"
        },
        {
            "links": [
                {
                    "rel": "<http://xmlns.oracle.com/rest/result>",
                    "href": "https://{{REST}}/query/v1/dataset/custdataset5/result"
                }
            ],
            "id": "custdataset5",
            "name": "Sales (Invoiced) Dataset"
        }
    ],
    "offset": 0,
    "totalResults": 2
}
The issue I am facing is when I try to run an individual dataset using the following call:
{{REST_SERVICES}}/query/v1/dataset/custdataset5/result
I get this error:
Copy code
{
    "type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.5>",
    "title": "Not Found",
    "status": 404,
    "o:errorDetails": [
        {
            "detail": "The specified dataset does not exist.",
            "o:errorCode": "NONEXISTENT_ID"
        }
    ]