Getting 406 "The HTTP request is not acceptable." when trying to GET profile information

I am following the instructions for the endpoint /idp/myaccount/profile (I can’t post a link in my post, so I can’t directly link to the documentation I am referencing). My token has the necessary scopes. All I do is take the curl command from the docs and insert my token. When I do this I am getting 406. The error summary is “The HTTP request is not acceptable”. The error causes array is empty too.

I am not sure how to troubleshoot this issue. I am using the example in the documentation and the request is not complicated. Any ideas on what I can look for to try to get this call working?

Can you make sure you are including the required Accept header value for the MyAccount endpoints:

Accept: application/json; okta-version=1.0.0
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.