Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

403 code back for sessionUpload request

edited November 2020 in API

Provider: Panopto

Gebruikersnaam: eumedianet

Rol: Beheerder

I created a: On user based server request API


Than I did a request to get access token, and access token is returned

username: this.username,
password: this.password,
scope: "openid api",
grant_type: "password",

returns:

{

 "access_token": "long string....",

 "expires_in": 3600,

 "token_type": "Bearer"

}

Than I use this access token in my request

curl -X POST https://eur-test.cloud.panopto.eu/PublicAPI/REST/sessionUpload -H "Authorization: Bearer LONG_STRING" -H "Content-Type: application/json" -H "Accept: application/json" -d "{\"FolderId\": \"c533338a-9120-46cb-8d22-ac7800bccc67\"}"

returning 403

Answers

Sign In or Register to comment.