ncc: Version 0.34.0
ncc: Compiling file index.js into CJS
ncc: Using [email protected] (local user-provided)
Error: [tsl] ERROR in /Users/jarmor/SailPoint/RamBase-master/src/index.ts(53,25)
TS2345: Argument of type '(context: Context, input: undefined, res: Response<StdAccountListOutput>) => Promise<void>' is not assignable to parameter of type 'StdAccountListHandler'.
Types of parameters 'input' and 'input' are incompatible.
Type 'StdAccountListInput' is not assignable to type 'undefined'.
Using a zip-file with all dependencies deployed gives me another issue:
Uploaded a zip-file, with all dependencies, I was provided by SailPoint
Sail conn create RamBase
Sail conn upload -c RamBase -f Rambase-master.zip
Admin – Connections – Sources – Create New
When I have filled in Source name, source owner etc and press continue:
Trace ID: af83ff675d974d4b8c46a6a9d018cd90
Details:
An error occurred. Please contact your administrator.
An internal fault occurred.
I think this is an issue with the SDK having been updated with a new definition for the stdAccountList command. In index.ts, replacing the .stdAccountList on line 54 should fix the problem:
You will also need to update imports, normally the IDE will do this automatically, but if not, on the top of the same file, you need to add StdAccountListInput to the list of imports
It fails on the first page when creating a new source. No configuration done, just Name, Description and Source Owner. When I click next the internal error message pops up
Hi @philip-ellis,
Thank you so much for inputs. I did try the adding .stdAccountList(async (context: Context, input: StdAccountListInput, res: Response) => { in idex.ts and also added the import statement. After adding the same we are able to successfully do aggregation and provisioning