06/29/2023 01:52 PM
We use a few REST connections where we want the CreateAccountJSON or RemoveAccessJSON task to complete successfully and prior to version 5.5 SP3.18 we could use {} and the task would complete successfully.
Now we find an error message like null pointer exception. Does anyone know what value we could put in these provisioning related fields that would complete successfully without taking any real action? Thanks.
06/29/2023 09:30 PM
06/30/2023 08:59 AM
I have tried with the field blank but the task still doesn't complete successfully.
07/04/2023 10:29 PM
Call dummy url and auto complete the task.
07/04/2023 09:55 PM
Hello @adecastro1,
Please update to the latest version. After doing so, then you should be able to use {}.
Thanks,
07/05/2023 12:46 PM
@rushikeshvartak do you have an example?
@sudeshjaiswal do you mean the latest major version or the latest service pack for 5.5? We have started discussions about the major version upgrade, but we aren't able to do this now yet
Thanks
07/08/2023 09:33 AM
{
"name": "Subscription",
"connection": "userAuth",
"url": "https://graph.microsoft.com/AutoApproveAddTask_Subscription",
"httpMethod": "GET",
"httpParams": "",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
400
]
}
}
07/05/2023 09:59 PM
Hello @adecastro1,
Latest Service Pack for 5.5.
Thanks.
07/06/2023 09:07 AM
@sudeshjaiswal we do have 5.5 SP3.20 in our dev environment but I still observe the same issue
07/06/2023 11:46 PM
Hello @adecastro1,
Are you passing the {} in Version 5.5 SP3.20? Have you tried it?
What do you see in the logs?
Thanks.
07/24/2023 12:23 PM
I have tested {} in 5.5 SP3.20 and I receive error:
java.lang.NullPointerException: Cannot invoke method size() on null object
I have tried a dummy call like this in AddAccessJSON:
{
"name": "Groups",
"connection": "auth",
"url": "https://graph.microsoft.com/AutoApproveAddTask_Subscription/x",
"httpMethod": "GET",
"httpParams": "",
"httpHeaders": {
"Authorization": "abcd"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
400,
401
]
}
}
I also get the same null pointer exception when attempting this
07/25/2023 01:36 AM
Add null in success
07/24/2023 10:47 PM
Hello @adecastro1,
Could you kindly create an FD ticket for this issue? It requires additional troubleshooting.
Thanks,
07/25/2023 05:57 AM
Thanks for the suggestions, I have tried null in success codes, but we see the same issue. We have had a Freshdesk ticket open over a month.