Closed yannick-beot-sp closed 1 year ago
Hey @yannick-beot-sp,
Thank you for brining this to our attention, I see you made a PR to update this. With how our SDKs are generated we need to update the mustache files to add the allowNull() flag to the ContentTypes parameter in DeserializeResponse so that it is updated in all files. I do see your point that DeserializeResponse is defined multiple times due to how we split the SDK up into v3/beta/v2/cc, there can probably be some refactoring so that we only define it once. For now, the ContentType issue is fixed in https://github.com/sailpoint-oss/powershell-sdk/commit/a0778f81b6ba819a9078806aa79bb740d71f04a5
When using
New-AccessRequest
, the following error is thrown:The endpoint
v3/access-requests
is actually not sending any content type, hence the error when usingDeserializeResponse
withinInvoke-ApiClient
.Also,
DeserializeResponse
is defined multiple times within the module.