+ Reply to Thread
Results 1 to 10 of 10

Thread: Bad accessrights key

  1. #1
    Join Date
    Mar 2018
    Posts
    6

    Default Bad accessrights key

    Hi,
    I've been trying to test Fiery API, but I get an error for bad accessrights key:
    Code:
      "error": {
            "code": 401,
            "message": "Unauthorized",
            "errors": [
                {
                    "domain": "Fiery Authentication",
                    "reason": "Authentication failed",
                    "message": "bad accessrights key"
    I've tried 2 different evaluation keys.

    Can you also clarify which credentials need to be passed - application, server, efi passpoert (where api key generated)?

  2. #2
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default

    Hi there,

    The credential is your Fiery login so for example,

    username: admin
    password: I will message you if you don't know the default password
    accessrights (or apikey): your evaluation key

    Hope this helps,
    Yusuke

  3. #3
    Join Date
    Mar 2018
    Posts
    6

    Default

    Thanks, but I am still getting "bad accessrights key".

  4. #4
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default

    If you can, please test with Postman to check if you are able to login or not. Will be helpful if you can send me a screenshot of Postman with using login API.

    thanks,
    Yusuke

  5. #5
    Join Date
    Mar 2018
    Posts
    6

    Default

    After changing the authorization type to Basic Auth, login now looks to be successful.
    Name:  postman1.PNG
Views: 49
Size:  54.1 KB

    Subsequent call to info returns:
    Code:
    {
        "error": {
            "code": 401,
            "message": "Unauthorized"
        }
    }
    Name:  postman2.PNG
Views: 48
Size:  42.9 KB

  6. #6
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default

    You are not properly logged in. You are not using your evaluation API key either.
    Use body and enter multipart.

    Name:  Screen Shot 2018-03-13 at 11.57.27 AM.png
Views: 48
Size:  38.6 KB

    Also, use "admin" all lower case. Not Administrator.

  7. #7
    Join Date
    Mar 2018
    Posts
    6

    Default

    Here is the result with "admin"
    Name:  postman-admin.PNG
Views: 48
Size:  49.7 KB

  8. #8
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default

    Okay, please check your administrator login ID and password you set on your Fiery.

    Thank you,
    Yusuke

  9. #9
    Join Date
    Mar 2018
    Posts
    6

    Default

    I got it - admin password had been changed. Logged in after updating password and can now view info page.

    Code:
    {
        "time": "2018-03-13T13:51:18-06:00",
        "data": {
            "kind": "FieryCutSheetInfo",
            "item": {
                "disk_available": 168276432,
                "disk_total": 174989428,
                "epoch_time": 1520970678,
                "fiery_locale": "en_US",
                "locale": "C",
                "memory_available": 611168,
                "memory_total": 611168,
                "name": "SERVER-BI7DIIIE",
                "os_locale": "en_US",
                "serial_number": "3F212660",
                "timezone": "Mountain Standard Time (-0600)",
                "uptime": 451396,
                "version": "1.01",
                "host": "localhost",
                "username": "admin"
            },
            "_links": [
                {
                    "rel": "self",
                    "href": "https://10.1.3.168/live/api/v4/info"
                }
            ]
        }
    }
    Thank you for the assistance!

  10. #10
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default

    Great to hear! I hope you'll have some fun with it!

    Yusuke

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts