Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I' trying to send a POST URL call via Qlik Application Automation:
https://qlik.dev/apis/rest/identity-providers/#post-v1-identity-pro
/v1/identity-providers
Body of the call:
I'm receiving a 400 error::
The issue seems to be with the body, likely related to the PEM format.
How can I resolve this?
Thanks!
Thanks,
We removed the line breaks and used the same PEM value that worked in a regular REST request but didn’t work in the block URL.
In the end, we found a solution by configuring the IDP creation block.
Hi @sanekagr2 , you are mentioning a POST, but I see a GET method in the response.
Can you share screenshots of the block (all tabs)?
Of course, you can obscure sensitive data.
Hi @Daniele_Purrone,
Thank you for the response,
I'm sending the request using POST, but for some reason, the log shows an error with a GET method
If you're creating a JWT IdP, the trick is to strip line breaks - see an example posted at https://qlik.dev/examples/manage-examples/identity-provider-create/ in the JWT IdP box.
One other way of doing this to verify is creating it in the admin console & monitoring the request that gets sent to the API via developer tools.
Thanks,
We removed the line breaks and used the same PEM value that worked in a regular REST request but didn’t work in the block URL.
In the end, we found a solution by configuring the IDP creation block.
Good to know, thanks @sanekagr2 !