API: 403 Forbidden on /setup/create

I’m trying to create a setup manually ( hosted API - info-beamer).
I’m always getting a 403 status code and don’t have a clue why. All other requests are working.
The documentation says, that a 403 status indicates a permission issue. I’m using the API Key of my account, which has full access to my info beamer account.
Does anyone have an idea what’s happening here?

Some detailed information about the request:

    Authorization: Bearer <API_KEY>
    Content-Type: application/json


Thanks in advance!

Right now you still have to use the application/x-www-form-urlencoded instead of application/json Content-Type. So it should be (properly url-encoded):

Authorization: Bearer <API_KEY>
Content-Type: application/x-www-form-urlencoded


I’ll ensure that the error message will be more helpful soon.

This works. Thank you!
I was using JSON, since it works on all other endpoints before I tried to create a setup.
I was a bit lost with the issue so I totally missed that every request in the docs uses application/x-www-form-urlencoded.
Sorry :grinning:

info-beamer - Digital Signage for the Raspberry Pi community forum - Imprint