Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Service API permissions / User is not authorized for this request error

$
0
0

I'm trying to use service API to import data.

I basically followed https://world.episerver.com/documentation/developer-guides/Episerver-Service-API/installation-and-configuration/ and it installed version 5.3.1

I used the default user and one created by hand, and I am able to get the token, to create a catalog, to create a node, I can even get entities.

Anyway when I try https://world.episerver.com/documentation/developer-guides/Episerver-Service-API/catalog-restful-operations/Catalog-entries/#PostEntry to create entities or even update ones that already exists I get a \"User is not authorized for this request\" answer

Do you know if I missed some settings. I don't think so since I can already do operations like create a node or get entities, but something is wrong here.

Or if you know if I could get a more friendly error message to figure out what might be wrong. 

I know that the user can indeed create products from the UI and also the user had Service API rights since he can do other so that not authorized doesn't help me.

Thanks

Sergiu


Viewing all articles
Browse latest Browse all 9076

Trending Articles