Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The Content-Type header included with the request is not allowed" error when assigning roles to users #45

Closed
jeffshurtliff opened this issue Sep 24, 2021 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jeffshurtliff
Copy link
Owner

Description

When attempting to assign roles to users with the khoros.roles.assign_roles_to_user() function, the following error response is getting returned:

{
  'status': 'error', 
  'message': 'The Content-Type header included with the request is not allowed (it should be either application/json or application/xml).', 
  'data': {
    'type': 'error_data', 
    'code': 405, 
    'developer_message': '', 
    'more_info': ''}, 
  'metadata': {}
}

Affected Version

>>> import khoros
>>> khoros.__version__
'4.2.0'
@jeffshurtliff jeffshurtliff added the bug Something isn't working label Sep 24, 2021
@jeffshurtliff jeffshurtliff self-assigned this Sep 24, 2021
@jeffshurtliff jeffshurtliff added this to To do in 2021 Roadmap via automation Sep 24, 2021
@jeffshurtliff jeffshurtliff added this to the v4.2.1 milestone Sep 24, 2021
@jeffshurtliff jeffshurtliff moved this from To do to In development in 2021 Roadmap Sep 24, 2021
@jeffshurtliff
Copy link
Owner Author

Confirmed that the fix in v4.2.1rc1 resolves the issue.
Change will be deployed in GA version 4.2.1 shortly.

@jeffshurtliff jeffshurtliff moved this from In development to In testing in 2021 Roadmap Sep 24, 2021
@jeffshurtliff
Copy link
Owner Author

jeffshurtliff commented Sep 24, 2021

The minor release v4.2.1 is now available which resolves the issue.

2021 Roadmap automation moved this from In testing to Done Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
2021 Roadmap
  
Done
Development

No branches or pull requests

1 participant