Welcome to the Panopto Community

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)

Screen Shot 2020-09-29 at 12.00.37 PM.png

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.