Skip to content

list-pages returning Not Found - <!DOCTYPE html> #50

Description

@mihirp161

Good evening! Thanks for making this cli. In this cli, I am able to get information returned when I run the list-cards, list-datasets, however, when I run the list-pages I am getting

Failed to fetch pages.
Error details: API request failed: Not Found - <!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
        <title>Domo</title>
    </head>
    <body>
                        <style type="text/css">
                                body {
                                        background-color: #54585a;
                                        color: #d4d5d6;
                                        font-size: 14px;
                                        font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
                                        padding-top: 94px;
                                        line-height: 20px;
                                }

                                .error-page {
                                        width: 825px;
                                }

                                .domobot {
                                        float: left;
                                        height: 390px;
                                        width: 285px;
                                        padding-right: 40px;
                                        padding-top: 6px;
                                        text-align: right;
                                }

                                h1 {
                                        color: white;
                                        font-size: 32px;
                                        line-height: 38px;
                                        font-weight: 500;
                                }

                                h2 {
                                        font-size: 20px;
                                        font-weight: 200;
                                        line-height: 27px;
                                }

                                h3 {
                                        font-weight: 500;
                                        font-size: 15px;
                                }

                                hr {
                                        border-top: 1px solid #404445;
                                        border-bottom: 1px solid #7F8283;
                                        border-left: none;
                                        border-right: none;
                                        margin: 28px 0 25px 0;
                                }

                                a {
                                        color: #9acbeb;
                                        text-decoration: none;
                                }

                                a:hover, a:active {
                                        text-decoration: underline;
                                }

                        </style>
                        <div class="error-page lb">
                                <div class="domobot"><img src="/error/domo-logo-200.png" width="200" height="200" alt="Domo"/></div>
                                <div class="content">
                                        <h1>We're sorry but the system can't do that right now.</h1>
                                        <h2><br>Getting started? Try <a href="https://developer.domo.com">developer.domo.com</a></h2>
                                        <hr>
                                        <h3>Have any questions? Feel free to contact us.</h3>
                                        <p>Call us toll-free: 800.899.1000<br>Email: <a href="mailto:support@domo.com">support@domo.com</a></p>
                                </div>
                        </div>
    </body>
</html>

Check your parameters and authentication, then try **again.**

This is the result of list-pages --format=json

list-pages --format=json
{                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
"success": false,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
"command": "list-pages",                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
"error": {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
"message": "API request failed: Not Found - <!DOCTYPE html>\n\n<html>\n    <head>\n        <meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate\" />\n        <meta http-equiv=\"Pragma\" content=\"no-cache\" />\n        <meta http-equiv=\"Expires\" content=\"0\" />\n        <title>Domo</title>\n    </head>\n    <body>\n\t\t\t<style type=\"text/css\">\n\t\t\t\tbody {\n\t\t\t\t\tbackground-color: #54585a;\n\t\t\t\t\tcolor: #d4d5d6;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-family: Helvetica Neue, Arial, Helvetica, sans-serif;\n\t\t\t\t\tpadding-top: 94px;\n\t\t\t\t\tline-height: 20px;\n\t\t\t\t}\n\n\t\t\t\t.error-page {\n\t\t\t\t\twidth: 825px;\n\t\t\t\t}\n\n\t\t\t\t.domobot {\n\t\t\t\t\tfloat: left;\n\t\t\t\t\theight: 390px;\n\t\t\t\t\twidth: 285px;\n\t\t\t\t\tpadding-right: 40px;\n\t\t\t\t\tpadding-top: 6px;\n\t\t\t\t\ttext-align: right;\n\t\t\t\t}\n\n\t\t\t\th1 {\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tfont-size: 32px;\n\t\t\t\t\tline-height: 38px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t}\n\n\t\t\t\th2 {\n\t\t\t\t\tfont-size: 20px;\n\t\t\t\t\tfont-weight: 200;\n\t\t\t\t\tline-height: 27px;\n\t\t\t\t}\n\n\t\t\t\th3 {\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tfont-size: 15px;\n\t\t\t\t}\n\n\t\t\t\thr {\n\t\t\t\t\tborder-top: 1px solid #404445;\n\t\t\t\t\tborder-bottom: 1px solid #7F8283;\n\t\t\t\t\tborder-left: none;\n\t\t\t\t\tborder-right: none;\n\t\t\t\t\tmargin: 28px 0 25px 0;\n\t\t\t\t}\n\n\t\t\t\ta {\n\t\t\t\t\tcolor: #9acbeb;\n\t\t\t\t\ttext-decoration: none;\n\t\t\t\t}\n\n\t\t\t\ta:hover, a:active {\n\t\t\t\t\ttext-decoration: underline;\n\t\t\t\t}\n\n\t\t\t</style>\n\t\t\t<div class=\"error-page lb\">\n\t\t\t\t<div class=\"domobot\"><img src=\"/error/domo-logo-200.png\" width=\"200\" height=\"200\" alt=\"Domo\"/></div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<h1>We're sorry but the system can't do that right now.</h1>\n\t\t\t\t\t<h2><br>Getting started? Try <a href=\"https://developer.domo.com\">developer.domo.com</a></h2>\n\t\t\t\t\t<hr>\n\t\t\t\t\t<h3>Have any questions? Feel free to contact us.</h3>\n\t\t\t\t\t<p>Call us toll-free: 800.899.1000<br>Email: <a href=\"mailto:support@domo.com\">support@domo.com</a></p>\n\t\t\t\t</div>\n\t\t\t</div>\n    </body>\n</html>\n",
"code": "UNKNOWN_ERROR"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
},                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
"metadata": {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
"timestamp": "2026-02-22T22:51:26.070Z"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
}

Also, question for you. What commands should I use to cards, pages, and cards attached to datasets? I want to get full picture and draw lineage. Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions