Study the error message. See how 2 URL’s are listed, separated by a comma? Seems to be a problem with the input data. Probably an array of values is being input, while that assembly is not written to support it. So the Java code is trying to invoke 2 URL’s at the same time. So either the automation needs to be fixed so to not send an array, or the assembly needs to be fixed to support it.
I’ve gone through the logs again and checked all the input and output data of modules, and all look just as expected, nothing unusual but when data comes in “Server-Side Script #10” it throws the same error.
Just for the information: It’s been long time since we’ve configured this connector in the client production account and all the assemblies and the connector was working perfectly fine. Now the client has reported this issue and I’ve created records in two different ways to test the integration:
DonorPerfect > 360Alumni: When I create a record in DonorPerfect, it goes to 360Alumni successfully with the same error. Here record has been synced successfully but with error in the automation. I’ve checked the Mapping and database dump which also looks fine.
Now if I update record in DonorPerfect then nothing gets trigger in the automation although updated data appear if I execute trigger from the assembly editor. If I update record from 360Alumni, it perfectly working fine.
360Alumni > DonorPerfect: Everything is working fine when I create records 360Alumni to DonorPerfect. All the operation working fine, create/update.
Help me out here, I couldn’t locate exact cause of this issue, why “2 URL’s are listed, separated by a comma” with message InvalidRedirectLocationException.
The error occurs in subassembly 8547b053ba41411e859e310b33366a74 which was built by Dhruvit. You will need to get with him or troubleshoot it on your own. Someone needs to trace the Java code and see what value for the URL is being used. The error seems to indicate the URL string has two URL’s separated by a comma.
I’ve asked Dhruvit to look into this issue and the execution get stop on line “int status_code = httpClient.executeMethod(httpClient.getHostConfiguration(), get);” in server-side script module. We’ve called the same API by using the HTTP module and no issue with that. We’ve created a sample assembly to call get API, and while execution, it is going to throw the same error.
Assembly UUID: d98e63fc6472426f8fdc2426a490ef9f
Credentials: Sent in teamchat