Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Oscar 3 posts 23 karma points
    Dec 01, 2021 @ 14:12
    Oscar
    0

    Authorization error

    Hi there,

    I'm going through the tutorials on the intro after making a trial account on umbraco heartcore. At the step where you create an API key and pass it to your request via a header (either base64 encoded through Authorization or through an Api-Key header) I run into the following error:

    {"error": "No headless cats for you!"}

    and I receive a 403 code.

    Does my user still need to get activated? Does this take long? Am I missing something?

    Cheers,

    Oscar

  • Oscar 3 posts 23 karma points
    Dec 01, 2021 @ 14:16
    Oscar
    0

    Or does the "Mini plan" simply not include the REST api?

  • Lindow 154 posts 1301 karma points
    Dec 01, 2021 @ 14:35
    Lindow
    100

    Hi there.

    Did you also pass the umb-project-alias header?

    You'll need that one to tell the HTTP call which projects to work with :)

  • Oscar 3 posts 23 karma points
    Dec 01, 2021 @ 15:30
    Oscar
    0

    Yes, that helped, thanks a lot!

  • Lindow 154 posts 1301 karma points
    Dec 01, 2021 @ 15:31
    Lindow
    0

    You're most welcome :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies