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.

All Postman Requests return HTTP Error 400 (Despite Successful Authentication)

edited September 2020 in API

So I was able to successfully to successfully get OAuth2 Authentication in Postman using the steps described here https://support.panopto.com/s/article/How-to-use-Postman-with-the-Panopto-REST-API

I get no errors for this step and the token comes back just fine.

However, when I make a request to for instance:

https://{my-server}/Panopto/api/v1/sessions/{my-session-id}

... I always get back the same type of response (see screenshot)

Note that these exact same URLs work fine in my Python application using the requests library - it's only Postman that has problems.

This same HTML response returns for any REST endpoint.

Any ideas?

Thanks in advance!

Tagged:

Answers

  • Hello all, just following up here.

    I've managed to resolve the problem.

    Silly mistake - ensure there are no line breaks in Postman URLs.


    Thanks for reading!

Sign In or Register to comment.