• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG API returning 404

    Scheduled Pinned Locked Moved
    General
    3
    6
    817
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maikBat
      last edited by maikBat

      Hi,

      I have a app that have been connected to my FOG server using the API. I installed a new server today and the API request is only returning 404. I tested with Postman and I’m getting the same result. Using http://fogip/fog/system/status | info endpoint just getting 404. The rest of the system is working as expected API is enabled and user API is enabled too. Also using tokens (API token, User APi token) on headers. Fog version 1.5.2.

      Thanks

      Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @maikBat
        last edited by

        @maikbat See this: https://forums.fogproject.org/topic/11764/api-broken-after-update-to-1-5-2

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • M
          maikBat
          last edited by

          Got it,

          Thanks you so much.

          1 Reply Last reply Reply Quote 0
          • M
            maikBat
            last edited by

            Tested with working branch, same result.

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Asking @tom-elliott to take a look at this when he has some time.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @maikBat
                last edited by

                @maikbat by default the api access is disabled. Check fog configuration ->fog settings->API Settings and enable

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                313

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project