API error

40 views
Skip to first unread message

Roben Rajan

unread,
Jan 24, 2022, 12:47:56 PMJan 24
to Slatwall Commerce
I am getting the following error when accessing the products and categories api's

The entity name that you have requested: 'public' is not configured in ORM.

I tried reloading slatwall and the error is same


Chris Kent

unread,
Jan 26, 2022, 7:56:00 AMJan 26
to Slatwall Commerce
Hi Roben,

Can you provide more details for the API call that you are attempting including the URL?

Also, 
What version of Slatwall are you running? 
Are all other aspects of Slatwall working correctly?

Roben Rajan

unread,
Jan 27, 2022, 5:04:11 AMJan 27
to Slatwall Commerce
Debugging info

                Operating System:        Windows 10
                CFML Server:                Lucee: 5.3.8.201
                DB Dialect:                 MySQL
                Slatwall Version:        5.5.001
                       

Now, I am getting different issue

when accesssing {{url}}/api/scope/getAccount api I get
Component [Slatwall.model.transient.HibachiJWT] has no accessible Member with name [PAYLOAD]

when accessing {{url}}/api/public/category/ I get
{
    "messages": [
        {
            "message""invalid_token",
            "messageType""error"
        }
    ]
}

Roben Rajan

unread,
Jan 27, 2022, 5:04:57 AMJan 27
to Slatwall Commerce
The Slatwall backend is working correctly, I can add/edit/remove products, categories, etc.

Roben Rajan

unread,
Jan 31, 2022, 10:36:31 AMJan 31
to Slatwall Commerce
Found the issue:

I was passing the token as ' Authorization' header, it should be 'Auth-Token'

Now I am getting the results.
Reply all
Reply to author
Forward
0 new messages