SAP Knowledge Base Article - Public

2776707 - Token URL Error Code 405 - method GET not supported

Symptom

When trying to setup the Token to test API calls for LMS, you receive the following error message:

The page generated a server error: response code 405 (Request method 'GET' not supported).

Postman Error Message 405.png

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SuccessFactors Learning Management System - Web Services OData

Resolution

Instead of GET method, you should use POST method to setup token.

On Postman, you can choose the method from the dropdown on the left of the token URL:

Postman Error Message 405 - Post.png

Additionally, if you use the token URL directly on your browser, you will receive the same error message, as the default method would be GET.

See Also

2318897 - LMS ODATA Webservices Knowledge Support and Tips

Keywords

Code 405, Request method 'GET' not supported, POST, API Call, API Token, Postman, oauth-api, server error , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions